Periodic background tasks for React Native apps, cross-platform (iOS and Android), which run even when the app is closed. This library allows the scheduling of a single periodic task, which executes when the app is in the background or closed, no more frequently than every 15 minutes. Network, AsyncStorage etc can be used (anything except UI), so perfect for things like a background data sync for offline support.
Features
- A native implementation, which provides scheduling on top of RN's built-in Headless JS (Android only)
- A proxy around react-native-background-fetch, which uses the iOS-specific Background Fetch technique
- To achieve a unified API, this library exposes the lowest common denominator
- For more per-platform flexibility, there are other platform-specific libraries with more granular customization
- For iOS support, this library relies on version 2.0.x of react-native-background-fetch
- Specify the scheduling options for the task, and register it with the platform's scheduler
Categories
LibrariesLicense
MIT LicenseFollow react-native-background-task
Other Useful Business Software
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of react-native-background-task!