itinance / itinance/react-native-fs

Error in Cancel download process !

Open
#781 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
5k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

Hi , thanks for the awesome library .
I am using this library last 2 month ...its really awesome thanks for maintaining this .
.
.
.
I have an issue in cancel download process . I an cancelling download process by jobId created on download begin callback first time . by the following code .

RNFS.stopDownload(jobId).then((res)=>
{
console.log("Download Cancelled : "+JSON.stringify(res))
})
.catch((res)=>
{
console.log("Error : "+res)
})

But some error display in this method . Please suggest me ...is am i doing something wrong in logic ?? Please help
![s](https://user-images.githubusercontent.com/36400269/66806111-51c21800-ef44-11e9-95aa-1f81e74d87da.png)

Here is the screenshot

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.