Platforms: Android / iOS
SDK Version: 46
I am building a React Native app and would like to add weekly local notifications. The notifications should include dynamic data, such as a screen time increase, which will be calculated right before the notification is sent.
When the user enables the notifications by clicking “Enable Weekly Reports”, the
scheduleNotificationAsync method is called, taking the title parameter as input. However, the title will change over time.
What is the best way to periodically schedule notifications with dynamic content in React Native using the
BackgroundFetch method only works when the app is in the background, not if the app has been terminated or after a device reboot.