You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that it is not possible to make the OSRemoteNotificationReceivedHandler working following the guide on https://documentation.onesignal.com/docs/service-extensions.
It seems impossible to add any piece of code to override a push notification before it is shown in the notification center.
How do I implement this in a .NET MAUI project?
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Hi @nadirbongiovanni . At this time the notification service extension (NSE) does not have a platform-independent way to implement.
On iOS, .NET 6/7 does not yet have tooling support to create an iOS NSE, but we do have an example in our sample project. Specifically, take a look at this project to see how you can set up the NSE for your app.
Note there is the OneSignal.Default.NotificationWillShowevent, however that is only called when the app is in the foreground. If you do require overriding a push notification on Android while the app is in the background/closed, would you be willing to share your use case?
How can we help?
It seems that it is not possible to make the OSRemoteNotificationReceivedHandler working following the guide on https://documentation.onesignal.com/docs/service-extensions.
It seems impossible to add any piece of code to override a push notification before it is shown in the notification center.
How do I implement this in a .NET MAUI project?
Code of Conduct
The text was updated successfully, but these errors were encountered: