kiot-cordova-plugin-home-console
Version:
This plugin allows your Android app to download and install compressed updates without the Google Play Store.
32 lines (24 loc) • 664 B
TypeScript
declare module 'kiot-cordova-plugin-home-console' {
interface Config {
/**
* If an encrypted zip file is used.
*/
zipPassword?: string;
/**
* Header authorization request property.
*/
authorization?: string;
/**
* Monitor download progress.
*/
onDownloadProgress?: (progress: Progress) => void;
/**
* Monitor unzip progress.
*/
onUnzipProgress?: (progress: Progress) => void;
/**
* Custom HTTP headers to send with the download request.
*/
headers?: {[key: string]: string};
}
}