UNPKG

@capawesome/capacitor-live-update

Version:

Capacitor plugin to update your app remotely in real-time.

26 lines (25 loc) 1.58 kB
import { WebPlugin } from '@capacitor/core'; import type { DeleteBundleOptions, DownloadBundleOptions, FetchLatestBundleResult, GetBundleResult, GetBundlesResult, GetChannelResult, GetCurrentBundleResult, GetCustomIdResult, GetDeviceIdResult, GetNextBundleResult, GetVersionCodeResult, GetVersionNameResult, LiveUpdatePlugin, ReadyResult, SetBundleOptions, SetChannelOptions, SetCustomIdOptions, SetNextBundleOptions, SyncResult } from './definitions'; export declare class LiveUpdateWeb extends WebPlugin implements LiveUpdatePlugin { deleteBundle(_options: DeleteBundleOptions): Promise<void>; downloadBundle(_options: DownloadBundleOptions): Promise<void>; fetchLatestBundle(): Promise<FetchLatestBundleResult>; getBundle(): Promise<GetBundleResult>; getBundles(): Promise<GetBundlesResult>; getChannel(): Promise<GetChannelResult>; getCurrentBundle(): Promise<GetCurrentBundleResult>; getCustomId(): Promise<GetCustomIdResult>; getDeviceId(): Promise<GetDeviceIdResult>; getNextBundle(): Promise<GetNextBundleResult>; getVersionCode(): Promise<GetVersionCodeResult>; getVersionName(): Promise<GetVersionNameResult>; ready(): Promise<ReadyResult>; reload(): Promise<void>; reset(): Promise<void>; setBundle(_options: SetBundleOptions): Promise<void>; setChannel(_options: SetChannelOptions): Promise<void>; setCustomId(_options: SetCustomIdOptions): Promise<void>; setNextBundle(_options: SetNextBundleOptions): Promise<void>; sync(): Promise<SyncResult>; private throwUnimplementedError; }