UNPKG

@capawesome/capacitor-live-update

Version:

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

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