Did you able to make Zip native work? Can you please share how it is done? Iām having error while importing the Zip āimport { Zip } from āionic-nativeā;ā
Then I think I had to declare it like this since there was something funky going on with the importā¦ you declare this variable right beneath/after your āimportā statements
//cordova zip integration... declared at the top of the .ts file you're planning to use it in
declare var zip: any;
Create a public variable inside your class
public zip:any;
Then use it as the docs explain
zip.unzip(res.nativeURL, destPath, doneCallback);
Hope that helpsā¦ sorry itās not very thorough!