UNPKG

@capawesome/capacitor-live-update

Version:

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

85 lines (78 loc) 2.37 kB
var capacitorLiveUpdate = (function (exports, core) { 'use strict'; const LiveUpdate = core.registerPlugin('LiveUpdate', { web: () => Promise.resolve().then(function () { return web; }).then(m => new m.LiveUpdateWeb()), }); class LiveUpdateWeb extends core.WebPlugin { async deleteBundle(_options) { this.throwUnimplementedError(); } async downloadBundle(_options) { this.throwUnimplementedError(); } async fetchLatestBundle() { this.throwUnimplementedError(); } async getBundle() { this.throwUnimplementedError(); } async getBundles() { this.throwUnimplementedError(); } async getChannel() { this.throwUnimplementedError(); } async getCurrentBundle() { this.throwUnimplementedError(); } async getCustomId() { this.throwUnimplementedError(); } async getDeviceId() { this.throwUnimplementedError(); } async getNextBundle() { this.throwUnimplementedError(); } async getVersionCode() { this.throwUnimplementedError(); } async getVersionName() { this.throwUnimplementedError(); } async ready() { this.throwUnimplementedError(); } async reload() { this.throwUnimplementedError(); } async reset() { this.throwUnimplementedError(); } async setBundle(_options) { this.throwUnimplementedError(); } async setChannel(_options) { this.throwUnimplementedError(); } async setCustomId(_options) { this.throwUnimplementedError(); } async setNextBundle(_options) { this.throwUnimplementedError(); } async sync() { this.throwUnimplementedError(); } throwUnimplementedError() { throw this.unimplemented('Not implemented on web.'); } } var web = /*#__PURE__*/Object.freeze({ __proto__: null, LiveUpdateWeb: LiveUpdateWeb }); exports.LiveUpdate = LiveUpdate; return exports; })({}, capacitorExports); //# sourceMappingURL=plugin.js.map