JSPM

expo-task-manager

8.2.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 145323
  • Score
    100M100P100Q159954F
  • License MIT

Expo module that provides support for tasks that can run in the background.

Package Exports

  • expo-task-manager

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (expo-task-manager) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

expo-task-manager

Expo universal module for TaskManager API

API documentation

Installation in managed Expo projects

For managed managed Expo projects, please follow the installation instructions in the API documentation for the latest stable release.

Installation in bare React Native projects

For bare React Native projects, you must ensure that you have installed and configured the react-native-unimodules package before continuing.

Installation in bare iOS React Native project

Apart from following those steps, make sure your AppDelegate extends UMAppDelegateWrapper as shown here.

Add the package to your npm dependencies

expo install expo-task-manager

Configure for iOS

Run npx pod-install after installing the npm package.

In order to use TaskManager API in standalone, detached and bare apps on iOS, your app has to include background mode in the Info.plist file. See background tasks configuration guide for more details.

Configure for Android

No additional set up necessary.

Contributing

Contributions are very welcome! Please refer to guidelines described in the contributing guide.