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
Forever Free Full-Stack Observability | Grafana Cloud
Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of react-native-background-task!