@a.abunada/expo-task-manager

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

Usage no npm install needed!

<script type="module">
  import aAbunadaExpoTaskManager from 'https://cdn.skypack.dev/@a.abunada/expo-task-manager';
</script>

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.