ZIPing file using ionicframework?


#1

Hello, I need to create app to select group of images from Android device and make a ZIP file and upload to server.

Is there any way from phonegap/ionic framework - to ZIP files?

Tahnks for your response.


#2

Not built in into Ionic, no.

I would suggest looking into the Cordova Filesystem plugin http://cordova.apache.org/docs/en/3.3.0/cordova_file_file.md.html and a library like JSZIP: http://stuk.github.io/jszip/


#3

Thank You. That is what I expected too.

Seems like using above JS library is way to go.

Thanks


#4

I personnaly use https://github.com/MobileChromeApps/zip which works really well ! :slight_smile:

EDIT : Never mind, you want to zip, my library is for unzip only. ^^’


#5

no problem. But i believe http://stuk.github.io/jszip/ will work for unzipping too.

I am looking in to it now…let me know your inputs.

Thanks for sharing details again.