UNPKG

@capawesome/capacitor-live-update

Version:

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

34 lines (33 loc) 2.1 kB
import { WebPlugin } from '@capacitor/core'; import type { DeleteBundleOptions, DownloadBundleOptions, FetchChannelsResult, FetchLatestBundleResult, GetBlockedBundlesResult, GetBundleResult, GetBundlesResult, GetChannelResult, GetConfigResult, GetCurrentBundleResult, GetCustomIdResult, GetDeviceIdResult, GetDownloadedBundlesResult, GetNextBundleResult, GetVersionCodeResult, GetVersionNameResult, IsSyncingResult, LiveUpdatePlugin, ReadyResult, SetBundleOptions, SetChannelOptions, SetConfigOptions, SetCustomIdOptions, SetNextBundleOptions, SyncResult } from './definitions'; export declare class LiveUpdateWeb extends WebPlugin implements LiveUpdatePlugin { clearBlockedBundles(): Promise<void>; deleteBundle(_options: DeleteBundleOptions): Promise<void>; downloadBundle(_options: DownloadBundleOptions): Promise<void>; fetchChannels(): Promise<FetchChannelsResult>; fetchLatestBundle(): Promise<FetchLatestBundleResult>; getBlockedBundles(): Promise<GetBlockedBundlesResult>; getBundle(): Promise<GetBundleResult>; getBundles(): Promise<GetBundlesResult>; getDownloadedBundles(): Promise<GetDownloadedBundlesResult>; getChannel(): Promise<GetChannelResult>; getConfig(): Promise<GetConfigResult>; getCurrentBundle(): Promise<GetCurrentBundleResult>; getCustomId(): Promise<GetCustomIdResult>; getDeviceId(): Promise<GetDeviceIdResult>; getNextBundle(): Promise<GetNextBundleResult>; getVersionCode(): Promise<GetVersionCodeResult>; getVersionName(): Promise<GetVersionNameResult>; isSyncing(): Promise<IsSyncingResult>; ready(): Promise<ReadyResult>; reload(): Promise<void>; reset(): Promise<void>; resetConfig(): Promise<void>; setBundle(_options: SetBundleOptions): Promise<void>; setChannel(_options: SetChannelOptions): Promise<void>; setConfig(_options: SetConfigOptions): Promise<void>; setCustomId(_options: SetCustomIdOptions): Promise<void>; setNextBundle(_options: SetNextBundleOptions): Promise<void>; sync(): Promise<SyncResult>; private throwUnimplementedError; }