UNPKG

@capgo/capacitor-autofill-save-password

Version:

Prompt to display dialog for saving password to keychain from webview app

28 lines (21 loc) 776 B
var capacitorSavePassword = (function (exports, core) { 'use strict'; const SavePassword = core.registerPlugin('SavePassword', { web: () => Promise.resolve().then(function () { return web; }).then((m) => new m.SavePasswordWeb()), }); class SavePasswordWeb extends core.WebPlugin { readPassword() { throw new Error('Method not implemented.'); } async promptDialog(options) { throw new Error('Not implemented on web' + JSON.stringify(options)); } } var web = /*#__PURE__*/Object.freeze({ __proto__: null, SavePasswordWeb: SavePasswordWeb }); exports.SavePassword = SavePassword; return exports; })({}, capacitorExports); //# sourceMappingURL=plugin.js.map