Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ohasy opened this issue Feb 5, 2018 · 2 comments
Open

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

ohasy opened this issue Feb 5, 2018 · 2 comments

Comments

@ohasy
Copy link

ohasy commented Feb 5, 2018

No description provided.

@a7ul
Copy link
Owner

a7ul commented Feb 5, 2018

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
Copy link

fogil commented Jun 21, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants