/react-native-background-actions

React Native background service library for running background tasks forever in Android & iOS.

Primary LanguageJavaMIT LicenseMIT



React Native background service library for running background tasks forever in Android & iOS. Schedule a background job that will run your JavaScript when your app is in the background or foreground.

WARNING

  • Android: This library relies on React Native's HeadlessJS for Android. Before building your JS task, make sure to read all the documentation. The jobs will run even if the app has been closed.

  • iOS: This library relies on iOS's UIApplication beginBackgroundTaskWithName method, which won't keep your app in the background forever by itself. However, you can rely on other libraries like react-native-track-player that use audio, geolocalization, etc. to keep your app alive in the background while you excute the JS from this library.

Table of Contents

Install

Go to INSTALL.md to see the how to install, compatibility with RN and Linking process.

Usage

Go to USAGE.md to see the example code and options.

Maintainers

Acknowledgments

License

The library is released under the MIT license. For more information see LICENSE.