OneSignal-Flutter-SDK
OneSignal-Flutter-SDK copied to clipboard
[Feedback]: Cannot receive notifications in background
What's on your mind?
-
setNotificationOpenedHandler
works pretty fine when the app is running. - And I'm able to receive notifications in foreground. I have handle the notification reception with
setNotificationWillShowInForegroundHandler
.
But when the app is terminated, I don't receive any notification.
- My users are not in touch with some crucial that affect them.
- Just like
setNotificationWillShowInForegroundHandler
, Is there any method likesetNotificationWillShowInBackgroundHandler
?
Or is there any way to handle background notifications in flutter ?
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
@baimamboukar Unfortunately the operating systems do not reliably provide the app with an opportunity to process background notifications when the app is swiped away so we do not have a method to support it currently
Thanks @emawby for feedback....
-
OneSignal
is such a cool solution for push notifications in flutter... - Hope this background notification feature will be available and stable in the next realeases 🎉
Faced same issue in flutter and solved it, check my comment at issues#618.
Faced same issue in flutter and solved it, check my comment at issues#618.
But in this case, the user had to interact with your notification, right? You can't, for example, store a flag in the app's database to read it after it loads.