-
Notifications
You must be signed in to change notification settings - Fork 218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not receiving background notifications on Android #549
Comments
@dovahkiin98 Thanks for reporting, you do not need to setup the OneSignal NotificationServiceExtension in order for notifications to display. How are you "force closing" the app? Could you capture the full logcat from the device when you send a notification? (Do not filter, make sure it show verbose as well, and not limited to your app so it shows system entries) Could you share the Android versions and device models you have tested this scenario on? |
@jkasten2 Either with the Android's "Force Close" in the settings, or simply just swiping the application in the Recent Apps |
still have same issue ..... |
Same still have the issue |
same issue |
Please share the device model and Android version that is having this specific issue so we can look into it. |
Happening on all android device model and android version
|
It works previously, now seems like not working again for some reason |
Hello everyone! Apologies this issue has gone stale. If anyone is still having issues with receiving background notifications on the latest SDK version, please open a new issue and provide the full log from the device reproducing the issue. Note that our latest SDK is a major release bump and includes breaking changes. Please see our migration guide for full details. Thanks! |
I'm using the latest version of OneSignal for flutter (3.3.0).
As far as I know, OneSignal uses Firebase to send notifications to mobile, but for some reason, it only works while the app is in the foreground?
If you close the app then swipe it, or force close it, you never receive a notification. I even tried implementing the NotificationExtender, still nothing.
In Firebase, the notification is supposed to be handled by the system, but OneSignal doesn't seem to handle background notifications when the app is terminated.
Any solution to that?
The text was updated successfully, but these errors were encountered: