mramonlopez / cordova-plugin-file-downloader

Phonegap plugin to download a list of files or a single file to the phone, check consistency and unzip if necessary (Android and ios)
MIT License
23 stars 19 forks source link

"unzip " parameter is not working(file is not getting extracted) #9

Open Nousheenk opened 5 years ago

Nousheenk commented 5 years ago

i have tried the below code downloader.init({ folder: 'offlineCode', fileSystem: cordova.file.externalDataDirectory,unzip: true}); file is getting downloaded but it is not extracting the files(unzip:true)is not working

erikyuzwa commented 4 years ago

@Nousheenk - not sure if you're still stuck, but I had the same exact issue -- until I actually referred to a .zip file. eg downloader.get('http://foo.com/bar.zip')