You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I add the plugin to my project, however, there's no way I can access it.
I tried:
zip.unzip
window.zip...
cordova.plugins.zip...
window.plugins.zip...
cordova.require('zip')....
unfortunately, all return null. I have other plugins and they all work fine apart from this.
Could you please let me know how I can access this plugin after I add it to my project?
Thanks.
The text was updated successfully, but these errors were encountered:
My bad,
[SOLVED]
seems the problem is only with the folder locations.
You have to convert the folder to URL, folder.toURL() and use it to unzip files to.
If I try cordova.file.dataDirectory as folder to unzip things, then I get an error.
I think I'm working through the same issue. Can you tell me what is meant by "convert a folder to URL"? Would be cool if you could tell more about how to solve this. Thanks!
Hi,
[SOLVED]
I add the plugin to my project, however, there's no way I can access it.
I tried:
zip.unzip
window.zip...
cordova.plugins.zip...
window.plugins.zip...
cordova.require('zip')....
unfortunately, all return null. I have other plugins and they all work fine apart from this.
Could you please let me know how I can access this plugin after I add it to my project?
Thanks.
The text was updated successfully, but these errors were encountered: