UNPKG

@okode/capacitor-plugin-secure-share

Version:
32 lines (25 loc) 820 B
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var core = require('@capacitor/core'); const SecureShare = core.registerPlugin('SecureShare', { web: () => Promise.resolve().then(function () { return web; }).then(m => new m.SecureShareWeb()), }); class SecureShareWeb extends core.WebPlugin { save(data) { console.log(data); throw this.unimplemented('Not implemented on web.'); } retrieve() { throw this.unimplemented('Not implemented on web.'); } retrieveFrom(data) { console.log(data); throw this.unimplemented('Not implemented on web.'); } } var web = /*#__PURE__*/Object.freeze({ __proto__: null, SecureShareWeb: SecureShareWeb }); exports.SecureShare = SecureShare; //# sourceMappingURL=plugin.cjs.js.map