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

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow react-native-background-task

react-native-background-task Web Site

Other Useful Business Software
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

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.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of react-native-background-task!

Additional Project Details

Operating Systems

Apple iPhone, Mac

Programming Language

Java

Related Categories

Java Libraries

Registered

2023-07-03