jjdltc / jjdltc-cordova-plugin-zip

A plugin to zip and unzip files or directories
MIT License
23 stars 25 forks source link

SSZipArchive library integrated and zip method implemented #12

Open LucaTrip opened 4 years ago

LucaTrip commented 4 years ago

[iOS] With this PR, I imported the SSZipArchive external library and its core to solve the problems during the build phase and I implemented the zip method. Now you can zip a file or folder in iOS.

jjdltc commented 4 years ago

Hi @LucaTrip

Thanks a lot for contribute. I will check it out during the next week (I hope) so I can merge it. But before, could you please tell me about this

problems during the build phase

Mainly because I know a few friends and clients that are currently using this (with Cordova 9.x) and it works just fine, they only need to use the branch compatibility/plugin-xml-pod That brach could solve the problem you mention ?

That branch (compatibility/plugin-xml-pod) Is in queue for merge when I find the time to make it compatible with early versions, because the plugin.xml was modified for newer version of Cordova (>= 8 I think)

LucaTrip commented 4 years ago

Hi @jjdltc , I'm sorry if I wasn't very precise in the comment but I'm still new to these things. I mean that during the build phase of the iOS platform, it fails me with the error 'ZipArchive / SSZipArchive.h' file not found. However my branch solves the iOS problems.

jjdltc commented 4 years ago

Hi @LucaTrip,

I'm still not capable of reproduce that behaviour that you mention. As a matter of fact, I was able of install and build the plugin (from master) using cordova@10.0.0 and ios@6.1.0 platform.

Can you confirm that this is still an issue please ?