mirror of
https://github.com/status-im/react-native-fs.git
synced 2025-03-01 07:20:33 +00:00
Background fetch instructions updated
This commit is contained in:
parent
58b989350d
commit
ec88c6edb2
@ -466,7 +466,9 @@ If `progressDivider` = 0, you will receive all `progressCallback` calls, default
|
||||
(IOS only): `options.background` (`Boolean`) - Whether to continue downloads when the app is not focused (default: `false`)
|
||||
This option is currently only available for iOS, and you must [enable
|
||||
background fetch](https://www.objc.io/issues/5-ios7/multitasking/#background-fetch<Paste>)
|
||||
for your project in XCode.
|
||||
for your project in XCode. You only need to enable background fetch in `Info.plist` and set
|
||||
the fetch interval in `didFinishLaunchingWithOptions`. The `performFetchWithCompletionHandler`
|
||||
callback is handled by RNFS.
|
||||
|
||||
|
||||
### `stopDownload(jobId: number): void`
|
||||
|
Loading…
x
Reference in New Issue
Block a user