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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

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.
Start Free
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