MobileChromeApps / cordova-plugin-zip

Zip plugin for Cordova apps
Other
168 stars 207 forks source link

Issue in unzip IOS #62

Open DaleBakker opened 8 years ago

DaleBakker commented 8 years ago

Below is a sample of the code, It runs perfectly fine on Android, however when run it on IOS I get the fallowing error "Error occurred during unzipping - failed to open zip file" `var downloadsPath = cordova.file.dataDirectory +"downloads"; var testName = "testName"; var downloadedTestPath = cordova.file.dataDirectory +"downloadedTests";

$cordovaZip.unzip(downloadsPath + "/" + testName + ".zip", downloadedTestPath).then(function () { console.log("Sanity Check - Unzip Success"); })`