mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-02 00:07:23 +08:00
docs: optimize docs for SEO
This commit is contained in:
@@ -1,19 +1,28 @@
|
||||
---
|
||||
description: >-
|
||||
Background Fetch plugin for Cordova and Ionic. iOS Background Fetch Implementation. See: https://developer.apple.com/reference/uikit/uiapplication#1657399 iOS…
|
||||
---
|
||||
|
||||
# Background Fetch
|
||||
|
||||
```
|
||||
$ ionic cordova plugin add cordova-plugin-background-fetch
|
||||
$ npm install @awesome-cordova-plugins/background-fetch
|
||||
```
|
||||
|
||||
## [Usage Documentation](https://danielsogl.gitbook.io/awesome-cordova-plugins/plugins/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
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
ionic cordova plugin add cordova-plugin-background-fetch
|
||||
npm install @awesome-cordova-plugins/background-fetch
|
||||
```
|
||||
|
||||
**Plugin Repo:** [https://github.com/transistorsoft/cordova-plugin-background-fetch](https://github.com/transistorsoft/cordova-plugin-background-fetch)
|
||||
|
||||
## Supported Platforms
|
||||
|
||||
- iOS
|
||||
|
||||
## Further Information
|
||||
|
||||
- [Installation Guide](../../installation.md)
|
||||
- [FAQ](../../faq.md)
|
||||
|
||||
Reference in New Issue
Block a user