smanikandan14 / ThinDownloadManager

To download files and to avoid using DOWNLOAD_WITHOUT_NOTIFICATION permission if you are using Android's DownloadManager in your apps.
Apache License 2.0
783 stars 185 forks source link

Downloaded file is unusable #132

Open kcochibili opened 4 years ago

kcochibili commented 4 years ago

The latest version of this library ( Version 1.4.0) fully downloads a file but the file is corrupted. This issue does not happen in version 1.0.1.

In my case, I am downloading Zip files, and after the file is downloaded with this library, the file fails to unzip with the error:

"invalid local header signature for file: image.png" (image.png is a file in the zip)

but when I reverted back to version 1.01, everything works fine.

please note that the issue is not from my unzipping code, because even the default file system in the phone couldn't unzip the files downloaded by version 1.4.0