• Stars
    star
    168
  • Rank 225,507 (Top 5 %)
  • Language
    C
  • License
    Other
  • Created over 11 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Zip plugin for Cordova apps

cordova-plugin-zip

A Cordova plugin to unzip files in Android and iOS.

Installation

cordova plugin add cordova-plugin-zip

Usage

zip.unzip(<source zip>, <destination dir>, <callback>, [<progressCallback>]);

Both source and destination arguments can be URLs obtained from the HTML File interface or absolute paths to files on the device.

The callback argument will be executed when the unzip is complete, or when an error occurs. It will be called with a single argument, which will be 0 on success, or -1 on failure.

The progressCallback argument is optional and will be executed whenever a new ZipEntry has been extracted. E.g.:

var progressCallback = function(progressEvent) {
    $( "#progressbar" ).progressbar("value", Math.round((progressEvent.loaded / progressEvent.total) * 100));
};

The values loaded and total are the number of compressed bytes processed and total. Total is the file size of the zip file.

Release Notes

3.1.0 (Feb 23, 2016)

  • Updated SSZipArchive (ios lib) to 1.1

3.0.0 (May 1, 2015)

  • Updated SSZipArchive (ios lib) to 0.2.1
  • Update file plugin dependency to use npm version (cordova-plugin-file)

2.1.0 (May 1, 2014)

  • Added progress events
  • Fix iOS path handling when given file: URLs as src/target

More Repositories

1

mobile-chrome-apps

Chrome apps on Android and iOS
Python
2,501
star
2

chrome-cordova

Chrome APIs and integration layer for running Chrome Apps on mobile using Apache Cordova.
Objective-C
176
star
3

cordova-plugin-service-worker

Objective-C
163
star
4

cordova-plugin-background-app

Plugin to support background execution
Java
147
star
5

harness

Scripts for building the mobile Chrome Apps version of Apache's Cordova App Harness.
Java
104
star
6

mobile-chrome-app-samples

JavaScript
86
star
7

cordova-plugin-chrome-apps-sockets-udp

JavaScript
80
star
8

google-play-services

A Cordova plugin for Android that adds Google Play Services
Java
51
star
9

cordova-plugin-chrome-apps-sockets-tcp

JavaScript
44
star
10

cordova-plugin-service-worker-background-sync

Cordova Service Worker Background Sync Plugin
JavaScript
35
star
11

workshop-cca-eh

HTML
29
star
12

cordova-plugin-google-payments

Java
13
star
13

cordova-plugin-chrome-apps-usb

Java
13
star
14

cordova-plugin-chrome-apps-sockets-tcpServer

Java
12
star
15

cordova-plugin-chrome-apps-socket

JavaScript
12
star
16

cordova-plugin-chrome-apps-bootstrap

Plugin to run a Chrome app on top of Cordova
JavaScript
11
star
17

cordova-plugin-service-worker-geofencing

Cordova Geofencing Plugin
JavaScript
11
star
18

cordova-plugin-service-worker-notifications

Cordova Notification Plugin
JavaScript
11
star
19

cordova-plugin-service-worker-push

Push plugin for Cordova service worker
Objective-C
11
star
20

cordova-plugin-chrome-apps-alarms

JavaScript
10
star
21

cordova-plugin-chrome-apps-notifications

JavaScript
10
star
22

cordova-plugin-chrome-apps-bluetooth

Objective-C
10
star
23

cordova-plugin-chrome-apps-bluetoothLowEnergy

Java
9
star
24

cordova-plugin-chrome-apps-identity

JavaScript
9
star
25

cordova-plugin-android-support-v4

Adds the android-support-v4.jar to your project.
8
star
26

cordova-plugin-okhttp

Java
8
star
27

android-support

A Cordova plugin for Android that adds Android support libraries.
7
star
28

cordova-plugin-chrome-apps-gcm

JavaScript
5
star
29

syncNote

Demo app for chrome.syncFileSystem API
JavaScript
5
star
30

AndroidApkTemplate

JavaScript
5
star
31

cordova-plugin-chrome-apps-system-memory

Objective-C
5
star
32

cordova-plugin-chrome-apps-bluetoothSocket

Java
5
star
33

cordova-plugin-chrome-apps-system-cpu

Objective-C
5
star
34

cordova-plugin-chrome-apps-audioCapture

JavaScript
5
star
35

cca-push

Standalone Node tool to package and push Chrome apps to the Chrome ADT on mobile devices
JavaScript
4
star
36

cordova-plugin-chrome-apps-storage

JavaScript
4
star
37

cordova-plugin-chrome-apps-test-framework

Shared infrastructure for tests of Chrome Apps for Mobile plugins
JavaScript
3
star
38

cordova-plugin-chrome-apps-power

Java
3
star
39

cordova-plugin-chrome-apps-fileSystem

Objective-C
3
star
40

cordova-plugin-android-support-v7-appcompat

Adds the android-support-v7-appcompat.jar to your project.
3
star
41

cordova-plugin-chrome-apps-navigation

Objective-C
3
star
42

cordova-plugin-google-open-source-ios

Objective-C
3
star
43

experimental

For our early experiments
Objective-C
3
star
44

cordova-plugin-chrome-apps-videoCapture

JavaScript
2
star
45

cordova-plugin-chrome-apps-system-network

Objective-C
2
star
46

cordova-plugin-android-support-v7-mediarouter

Adds the android-support-v7-mediarouter.jar to your project.
2
star
47

cordova-plugin-chrome-apps-system-storage

Java
2
star
48

cordova-plugin-google-plus-ios

Cordova plugin for Google+ iOS SDK
Objective-C
2
star
49

cordova-plugin-blob-constructor-polyfill

JavaScript
2
star
50

sw2cdv

JavaScript
2
star
51

cordova-plugin-chrome-apps-i18n

JavaScript
2
star
52

cordova-plugin-customevent-polyfill

JavaScript
1
star
53

cordova-plugin-chrome-apps-common

JavaScript
1
star
54

cordova-plugin-xhr-blob-polyfill

JavaScript
1
star
55

cordova-plugin-chrome-apps-system-display

Java
1
star
56

cordova-plugin-chrome-apps-idle

JavaScript
1
star
57

cordova-plugin-chrome-apps-iosSocketsCommon

1
star
58

cordova-plugin-chrome-apps-runtime

JavaScript
1
star
59

cordova-plugin-chrome-apps-pushMessaging

Objective-C
1
star