expo-background-task
TypeScript icon, indicating that this package has built-in type declarations

0.1.4 • Public • Published

expo-background-task

Expo universal module for BackgroundTask API

API documentation

Installation in managed Expo projects

For 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 expo package before continuing.

Add the package to your npm dependencies

npx expo install expo-background-task

Configure for Android

No additional set up necessary.

Configure for iOS

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>

Contributing

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

Package Sidebar

Install

npm i expo-background-task

Weekly Downloads

3,675

Version

0.1.4

License

MIT

Unpacked Size

64.7 kB

Total Files

48

Last publish

Collaborators

  • fiber-god
  • betoatexpo
  • ide
  • brentvatne
  • evanbacon
  • quinlanj
  • expoadmin
  • tsapeta
  • exponent
  • wschurman
  • bycedric
  • lukmccall
  • jonsamp
  • princefleaswallow
  • kudochien
  • keith-kurak
  • alanhughes
  • simek
  • gabrieldonadel
  • douglowder
  • kadikraman
  • aleqsio
  • radoslawkrzemien
  • expo-bot
  • philpl
  • marklawlor