mirror of
https://github.com/zoriya/react-native-background-downloader.git
synced 2026-08-16 02:44:29 +00:00
README: mentioned pause/resume only for iOS
This commit is contained in:
@@ -124,10 +124,10 @@ let task = download({
|
||||
console.log('Download canceled due to error: ', { error, errorCode });
|
||||
})
|
||||
|
||||
// Pause the task
|
||||
// Pause the task (iOS only)
|
||||
task.pause()
|
||||
|
||||
// Resume after pause
|
||||
// Resume after pause (iOS only)
|
||||
task.resume()
|
||||
|
||||
// Cancel the task
|
||||
@@ -318,7 +318,7 @@ All callback methods return the current instance of the `DownloadTask` for chain
|
||||
Pauses the download
|
||||
|
||||
### `resume()` (iOS only)
|
||||
Resumes a pause download
|
||||
Resumes a paused download
|
||||
|
||||
### `stop()`
|
||||
Stops the download for good and removes the file that was written so far
|
||||
|
||||
Reference in New Issue
Block a user