onInstallOrUpdateTask to schedule your EPG Sync Task.
Step 1: Declare onInstallOrUpdateTask in the manifest file
- React Native 0.72
- React Native 0.83
Step 2: Define your app’s task
Define your app’sonInstallOrUpdateTask by creating a OnInstallOrUpdate.ts file in your src folder with the following content. This task runs on app installations and updates.
onInstallOrUpdate task runs, you should see a log line similar to the following.

