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
Auth0 for AI Agents now in GA Icon
Auth0 for AI Agents now in GA

Ready to implement AI with confidence (without sacrificing security)?

Connect your AI agents to apps and data more securely, give users control over the actions AI agents can perform and the data they can access, and enable human confirmation for critical agent actions.
Start building today
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