-
Notifications
You must be signed in to change notification settings - Fork 205
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
Scheduled local notifications are not showing up after reboot on Android #991
Comments
It seems that the issue was resolved by adding this permission to AndroidManifest:
@helenaford I couldn't find any information that it is needed to do it manually in the documentation, maybe I just missed it but if not could you add it for others? It wasn't working on Android 13/14 and I thought the package its injecting these permissions by itself. |
Very strange. The library has two parts, a thing react-native-specific wrapper and a core library that is also possible to use in Flutter. Both of those have an AndroidManifest.xml file and the core library has this permission:
If you open your app in AndroidStudio I believe it is possible to look at a "Merged Manifest" view and see what permissions are in there. If you do that, without the line you added explicitly using permission RECEIVE_BOOT_COMPLETED at the app level, do you see that permission still merging in from the core library? You should. It is supposed to work that way... |
Hi,
|
Hello, I'm testing on an Android emulator with battery optimizations turned off, Android 14. And the trigger notifications with alarmManager or the other one are not showing up after reboot. It doesn't works also on Samsung, one-plus and Xiaomi
Example code:
Repro steps:
From logs I can see only the following:
The text was updated successfully, but these errors were encountered: