UNPKG

@capgo/capacitor-autofill-save-password

Version:

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

25 lines (19 loc) 648 B
'use strict'; var core = require('@capacitor/core'); 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; //# sourceMappingURL=plugin.cjs.js.map