mzeeshanid / MZDownloadManager

This download manager uses NSURLSession api to download files. It can download multiple files at a time. It can download large files if app is in background. It can resume downloads if app was quit.
BSD 3-Clause "New" or "Revised" License
1.12k stars 238 forks source link

Why I force quit APP, the resume download from zero #72

Closed saminlu closed 6 years ago

saminlu commented 6 years ago

Why I force quit APP, the resume download from zero. But your demo can resume part of them, doesn't start from zero. What is the key point to fix the bug?

mahadshahib commented 5 years ago

how do you fix thiss?

bhavin-chauhan commented 5 years ago

saminlu Can you please explain me how you solved this issue. I am facing same issue.

mahadshahib commented 5 years ago

Dont use this library use official URLSession with background configuration and catch resumeData on failure on relaunch and use it to resume data at anytime you can save it permanently or you can save it on a simple variable defined on view controller class

Y2JChamp commented 5 years ago

saminlu, how did u fix the issue?