@elvis-ibrahimi/capacitor-zip-android
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

capacitor-zip-android

Unzip files on android.

Install

npm install @elvis-ibrahimi/capacitor-zip-android
npx cap sync

Android permissions

Make sure to add the following permissions in the application android manifest.xml

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>

API

unzip(...)

unzip(options: UnzipOptions) => Promise<UnzipResult>
Param Type
options UnzipOptions

Returns: Promise<UnzipResult>


Interfaces

UnzipResult

Prop Type
message string
uri string

UnzipOptions

Prop Type
source string
destination string
password string

Package Sidebar

Install

npm i @elvis-ibrahimi/capacitor-zip-android

Weekly Downloads

1

Version

1.1.0

License

MIT

Unpacked Size

26.7 kB

Total Files

23

Last publish

Collaborators

  • elvis-ibrahimi