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

There's any way to resume downloads? #213

Open
theer1k opened this issue Nov 22, 2018 · 7 comments
Open

There's any way to resume downloads? #213

theer1k opened this issue Nov 22, 2018 · 7 comments
Labels

Comments

@theer1k
Copy link

theer1k commented Nov 22, 2018

I need in my application to stop and resume downloads, we know in the plugin the OnProgress loaded but if download fails i want to download the loaded - total, anyone figured out how to get this done?

Looking up, i found this https://github.com/vaenow/cordova-plugin-pause-resume-download-demo but it's only limited for Android and iOS and i prefer if it's possible to use only this File Transfer plugin.

@brodybits
Copy link

brodybits commented Nov 22, 2018 via email

@janpio janpio added the support label Nov 22, 2018
@theer1k
Copy link
Author

theer1k commented Nov 22, 2018

@brodybits i would appreciate it, but this background download plugins can handle in case of failure? I mean, resume/start from failure?

@theer1k
Copy link
Author

theer1k commented Nov 24, 2018

Did you find any @brodybits ?

@brodybits
Copy link

@theer1k
Copy link
Author

theer1k commented Nov 25, 2018

Thanks for helping @brodybits! I think this can get the job done.

@theer1k
Copy link
Author

theer1k commented Dec 26, 2018

@brodybits sgrebnov/cordova-plugin-background-download#65 i don't think so. Still looking for an answer

@BrendanThysse
Copy link

Hi, any solution to this? My scenario is when the user puts the app to the background (Locking the device or minimising the app) during download, IOS suspends the application, I do not receive any errors or callback events. When I open the app again I have no idea what happened with the download as non of the events is being fired. I need to resume the download or at least know that it failed or did not finish.

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

No branches or pull requests

4 participants