nativescript-app-sync
Version:
Use AppSync to hot deploy updates to your app.
24 lines (23 loc) • 942 B
TypeScript
export declare class TNSLocalPackage implements ILocalPackage {
private static APPSYNC_CURRENT_APPVERSION;
private static APPSYNC_CURRENT_PACKAGE;
private static APPSYNC_CURRENT_APPBUILDTIME;
private static APPSYNC_APK_BUILD_TIME;
localPath: string;
isFirstRun: boolean;
deploymentKey: string;
description: string;
label: string;
appVersion: string;
isMandatory: boolean;
packageHash: string;
packageSize: number;
failedInstall: boolean;
serverUrl: string;
install(installSuccess: Function, errorCallback?: ErrorCallback, installOptions?: InstallOptions): void;
static unzip(archive: string, destination: string, progressCallback: (progressPercent: any) => void, completionCallback: (success: boolean, error?: string) => void): void;
static clean(): void;
private static saveCurrentPackage;
static getCurrentPackage(): IPackage;
private static copyFolder;
}