Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

expo-background-fetch

Package Overview
Dependencies
Maintainers
10
Versions
153
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

expo-background-fetch

Expo universal module for BackgroundFetch API

latest
Source
npmnpm
Version
14.0.7
Version published
Weekly downloads
42K
8.66%
Maintainers
10
Weekly downloads
 
Created
Source

expo-background-fetch

Expo universal module for BackgroundFetch API

API documentation

  • Documentation for the latest stable release
  • Documentation for the main branch

Installation in managed Expo projects

For managed Expo projects, please follow the installation instructions in the API documentation for the latest stable release.

Installation in bare React Native projects

For bare React Native projects, you must ensure that you have installed and configured the expo package before continuing.

Add the package to your npm dependencies

npx expo install expo-background-fetch

Configure for Android

No additional set up necessary.

This module might listen when the device is starting up. It's necessary to continue working on tasks started with startOnBoot. It also keeps devices "awake" that are going idle and asleep fast, to improve reliability of the tasks.

<!-- Added permissions -->
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.WAKE_LOCK" />

Configure for iOS

Run npx pod-install after installing the npm package.

In order to use BackgroundFetch API in standalone, detached and bare apps on iOS, your app has to include background mode in the Info.plist file. See background fetch configuration for more details.

Contributing

Contributions are very welcome! Please refer to guidelines described in the contributing guide.

Keywords

expo

FAQs

Package last updated on 11 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts