Is there any way I can get Download Progress ?
ohasy opened this issue · 2 comments
ohasy commented
Is there any way I can get Download Progress ?
a7ul commented
The module currently supports
download,
queueDownload,
attachOnCompleteListener,
cancel,
checkStatus
You can check https://github.com/master-atul/react-native-simple-download-manager/blob/master/index.js
fogil commented
Not helpful.
checkStatus function requires a downloadId, which is a long number inside a string.
However, the documentation does not include any way to get the downloadId value.
let abc = ReactNativeSimpleDownloadManager.download(~~~~~~~)
abc becomes a Promise object instance, which is not downloadId.