a7ul / react-native-simple-download-manager

A react native module to schedule downloads on native download manager
https://www.npmjs.com/package/react-native-simple-download-manager
MIT License
36 stars 15 forks source link

Is there any way I can get Download Progress ? #1

Open ohasy opened 6 years ago

a7ul commented 6 years ago

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 6 years ago

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.