# @laurentgoudet/ionic-native-background-fetch

> Ionic Native - Native plugins for ionic apps

Latest version **5.29.0-fork** (published 2020-11-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install @laurentgoudet/ionic-native-background-fetch
pnpm add @laurentgoudet/ionic-native-background-fetch
yarn add @laurentgoudet/ionic-native-background-fetch
bun add @laurentgoudet/ionic-native-background-fetch
```

## Health

**Score 40/100 (D)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high maintenance score.

Warnings: low downloads.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 5.29.0-fork |
| Published | 2020-11-17 |
| First published | 2020-07-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 26.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2452 |
| Author | ionic |
| Maintainers | laurentgoudet |

## Links

- npm: https://www.npmjs.com/package/@laurentgoudet/ionic-native-background-fetch
- Repository: https://github.com/ionic-team/ionic-native
- Homepage: https://github.com/ionic-team/ionic-native#readme
- Issues: https://github.com/ionic-team/ionic-native/issues
- npm.io page: https://npm.io/package/@laurentgoudet/ionic-native-background-fetch

## Dependencies (1)

- [@types/cordova](https://npm.io/package/@types/cordova.md) latest

## Recent versions

- 5.29.0-fork (latest) — 2020-11-17
- 5.28.0-fork — 2020-10-15
- 5.27.0-fork — 2020-07-07
- 5.27.0 — 2020-07-07

## README

<a style="float:right;font-size:12px;" href="http://github.com/ionic-team/ionic-native/edit/master/src/@ionic-native/plugins/background-fetch/index.ts#L8">
  Improve this doc
</a>

# Background Fetch

```
$ ionic cordova plugin add cordova-plugin-background-fetch
$ npm install @ionic-native/background-fetch
```

## [Usage Documentation](https://ionicframework.com/docs/native/background-fetch/)

Plugin Repo: [https://github.com/transistorsoft/cordova-plugin-background-fetch](https://github.com/transistorsoft/cordova-plugin-background-fetch)

iOS Background Fetch Implementation. See: https://developer.apple.com/reference/uikit/uiapplication#1657399
iOS Background Fetch is basically an API which wakes up your app about every 15 minutes (during the user's prime-time hours) and provides your app exactly 30s of background running-time. This plugin will execute your provided callbackFn whenever a background-fetch event occurs. There is no way to increase the rate which a fetch-event occurs and this plugin sets the rate to the most frequent possible value of UIApplicationBackgroundFetchIntervalMinimum -- iOS determines the rate automatically based upon device usage and time-of-day (ie: fetch-rate is about ~15min during prime-time hours; less frequently when the user is presumed to be sleeping, at 3am for example).
For more detail, please see https://github.com/transistorsoft/cordova-plugin-background-fetch

## Supported platforms

- iOS

---
_Source: https://npm.io/package/@laurentgoudet/ionic-native-background-fetch · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
