1.1.0 • Published 2 years ago

@elvis-ibrahimi/capacitor-zip-android v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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>
ParamType
optionsUnzipOptions

Returns: Promise<UnzipResult>


Interfaces

UnzipResult

PropType
messagestring
uristring

UnzipOptions

PropType
sourcestring
destinationstring
passwordstring