Capgo plugin example
Autofill save password
Exercise the native save and read flows from a realistic login form. Use a device build to see system autofill prompts; the web build surfaces plugin errors for quick wiring checks.
Platform: …
Native: …
Login form
Result log
Tap a button to run a plugin method.
Platform notes
-
iOS: Set up associated domains before
readPassword(). On iOS 26.2 and later, a resolvedpromptDialog()only means the system accepted the request, not that the user saved the credential. - Android: Dismissing the save prompt rejects the promise. Saving uses the username, password, and optional URL from the form.
- Web: Native autofill APIs are unavailable here. Expect errors for save and read calls.