Expo universal module for BackgroundTask API
For managed Expo projects, please follow the installation instructions in the API documentation for the latest stable release.
For bare React Native projects, you must ensure that you have installed and configured the expo
package before continuing.
npx expo install expo-background-task
No additional set up necessary.
Run npx pod-install
after installing the npm package.
In order to use BackgroundTask
API in standalone, detached and bare apps on iOS, your app has to include the background task identifier in the Info.plist
file. You can do this by adding the following XML snippet to your Info.plist
file:
<key>BGTaskSchedulerPermittedIdentifiers</key>
<array>
<string>com.expo.modules.backgroundtask.processing</string>
</array>
Contributions are very welcome! Please refer to guidelines described in the contributing guide.