Do scheduled local notifications require the app to be opened?
Is there a way to receive local notifications even when the app is closed? 馃
Hi!
Can you provide more information such as version, configuration, manifest... ?
This can help to debug 馃槈
Hi!
Versions:
"@react-native-community/push-notification-ios": "^1.2.0",
"react-native-push-notification": "3.3.1",
"react-native": "0.59.9",
Test device:
Samsung galaxy S10
AndroidManifest and other configurations are exactly the same as this provided in readme.md.
To schedule notifications, I am using localNotificationSchedule function.
Hi @kamilklyta
I will take a look at this, I could have seen this behaviour on my App too, but after one day...
I will come back to you ASAP.
Hi,
Everything is ok for me, can wait tomorrow but maybe you have a battery saving activated or something that postpone the notification.
Android can change the time in some conditions, allow idle might be required if the notification is strictly required at the exact time. Such as important calendar event.
Hi @Dallas62.
I accidentally have installed: react-native-push-notification package with version 3.1.2. Updating to 3.3.1 solved this issue 馃挭 .
When battery-saving activated, notifications are sometimes postponed even for a few hours, but it's like expected behavior on the Android platform. Besides that everything works perfectly! Thanks for your help 馃檹 and your precious time 馃檹 馃槂 .
馃帀馃帀馃帀
Most helpful comment
Hi,
Everything is ok for me, can wait tomorrow but maybe you have a battery saving activated or something that postpone the notification.
Android can change the time in some conditions, allow idle might be required if the notification is strictly required at the exact time. Such as important calendar event.