Serverless Scheduled Push Notifications
Alex Temina
Do we have any update on this? I need my app to keep the scheduled notifications after reboot.
Conor Strejcek
Cameron Walker
Conor Strejcek: This is very different. Scheduled notifications require a listener and have to be done locally. (I have only gotten them to work while the app is running.) I want the ability to send a notification on a locked screen without having to build a server.
Conor Strejcek
Cameron Walker: I see, I didn't realize that
scheduleLocalNotificationAsync
only worked while the app was open. Adding my vote to this request as well.Brent Vatne
Conor Strejcek: you have been misinformed ;) it works when the app is closed or open. However, on Android if you turn your device off and on then any scheduled local notifications will be cleared. This is a limitation with the underlying API -- Expo local notifications on Android use AlarmManager, you can read about the limitation in this StackOverflow post: https://stackoverflow.com/questions/16534122/how-to-create-persistent-alarms-even-after-rebooting