-
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
Unable to receive notification when app is closed #587
Comments
Hello, add OneSignal.OSRemoteNotificationReceivedHandler code in Native and also meta tag for it.. |
can you show how to implement this?? |
add NotificationServiceExtension.kt at native side
add that in manifest::
|
how about for java? Thanks |
@krishnapandya Is the above solution working for you? |
This is a fatal problem, whether to use this pub or not. |
Hello everyone! Apologies that this issue has gone stale. Based on the original issue description, it sounds as though notifications are not received when the app is in a force-closed state. While undesirable, this is expected behavior on some Android devices. We have some troubleshooting steps to try here. I'm going to close this issue but please @ mention me if there are still questions or concerns. Thanks! |
Hi I am using
onesignal_flutter: ^3.4.1
and successfully getting notification when I open my app. But when I close my app from background, I didn't get any notification although the status isdelivered
from onesignalHere is android/build.gradle
and here is android/app/build.gradle
is there something that I missed inside build.gradle ? I also open my question on https://stackoverflow.com/questions/73316209/unable-to-receive-notification-from-onesignal-when-app-is-closed-from-background
The text was updated successfully, but these errors were encountered: