{"repo":"Rapsssito/react-native-background-actions","free":true,"listed":false,"github":"https://github.com/Rapsssito/react-native-background-actions","clone":"git clone https://github.com/Rapsssito/react-native-background-actions.git","description":"React Native background service library for running background tasks forever in Android & iOS.","language":"Java","stars":943,"topics":["react-native","react-native-library","background","background-task","android","ios"],"license":"MIT","category":"mobile-apps","readme_excerpt":"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. In Android 12+ you will not be able to launch background tasks from the background. A notification will be shown when the task is running, it is not possible to start the service without it. The notification will only be visible in Android. - 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 - React Native / Android / iOS compatibility - Install - Usage - Example Code - Options - taskIconOptions - taskProgressBarOptions - Deep Linking - Events - 'expiration' - Maintainers - Acknowledgments - License React Native / Android / iOS compatibility To use this module you need to ensure you are using the correct version of React Native. If you are using an Android (targetSdkVersion) version lower than 31 (introduced in React Native 0.68.0) you will need to upgrade before attempting","default_branch":null,"files":null,"tree":[],"storefront":"/r/Rapsssito","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Rapsssito/react-native-background-actions/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}