Skip to content

@capgo/capacitor-autofill-save-password

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

@capgo/capacitor-autofill-save-password asks the OS to save and recall passwords for your Capacitor login form. iOS uses AuthenticationServices (including credential provider routing on newer iOS versions). Android uses AndroidX Credential Manager.

Use after a successful login so users can skip typing passwords on return visits.

PlatformSupport
iOSYes
AndroidYes
WebNo
  • promptDialog - Save a password to the keychain.
  • readPassword - Read a password from the keychain. Requires the developer to setup associated domain for the app for iOS.
MethodDescription
promptDialogSave a password to the keychain.
readPasswordRead a password from the keychain. Requires the developer to setup associated domain for the app for iOS.
getPluginVersionGet the native Capacitor plugin version.

This reference is synced from src/definitions.ts in capacitor-autofill-save-password.

Keep going from @capgo/capacitor-autofill-save-password

Section titled “Keep going from @capgo/capacitor-autofill-save-password”

If you are using @capgo/capacitor-autofill-save-password to plan authentication and account flows, connect it with Using @capgo/capacitor-autofill-save-password for the native capability in Using @capgo/capacitor-autofill-save-password, @capgo/capacitor-social-login for the implementation detail in @capgo/capacitor-social-login, @capgo/capacitor-passkey for the implementation detail in @capgo/capacitor-passkey, @capgo/capacitor-native-biometric for the implementation detail in @capgo/capacitor-native-biometric, and Two-factor authentication for the implementation detail in Two-factor authentication.