UNPKG

@capawesome/capacitor-background-task

Version:
28 lines (21 loc) 775 B
var capacitorBackgroundTask = (function (exports, core) { 'use strict'; const BackgroundTask = core.registerPlugin('BackgroundTask', { web: () => Promise.resolve().then(function () { return web; }).then(m => new m.BackgroundTaskWeb()), }); class BackgroundTaskWeb extends core.WebPlugin { beforeExit(_cb) { throw this.unimplemented('Not implemented on web.'); } finish(_options) { throw this.unimplemented('Not implemented on web.'); } } var web = /*#__PURE__*/Object.freeze({ __proto__: null, BackgroundTaskWeb: BackgroundTaskWeb }); exports.BackgroundTask = BackgroundTask; return exports; })({}, capacitorExports); //# sourceMappingURL=plugin.js.map