react-native-simple-download-manager icon indicating copy to clipboard operation
react-native-simple-download-manager copied to clipboard

Is there any way I can get Download Progress ?

Open ohasy opened this issue 7 years ago • 2 comments

ohasy avatar Feb 05 '18 08:02 ohasy

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

a7ul avatar Feb 05 '18 08:02 a7ul

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.

fogil avatar Jun 21 '18 13:06 fogil