'How to add reminder for the app React Native?
I have an app and I want to set a reminder to open the app it is the same native reminder. eg: when user set reminder is 7:00 AM and every day my app will alarm.
My idea is to create a notification and the app will be opened by another library when listening to the notif. I want my app will auto-open when the lock screen opens. Maybe It is only possible on android. I need some solutions. Thanks a lot!
Solution 1:[1]
I believe the react-native-push-notification will help you. visit the "Scheduled Notifications" part. after the scheduled time when the notification appears on the screen, user can open the app by pressing the notification
Solution 2:[2]
So, Any one looking for the solution for both the platform to invoke native notification here is the library that does most of the work behind the scenes. https://www.npmjs.com/package/react-native-calendar-events
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | molood ayat |
Solution 2 | Saad Sheikh |