From 419af8b7d7bee90e55dd94cd3b09e21833dd57f2 Mon Sep 17 00:00:00 2001 From: Martin Donadieu Date: Fri, 14 Nov 2025 01:33:00 +0000 Subject: [PATCH] docs: update autofill credentials guide with Capgo validation tool and plugin changes as capacitor-ios-autofill-save-password is not working anymore --- docs/main/guides/autofill-credentials.mdx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/main/guides/autofill-credentials.mdx b/docs/main/guides/autofill-credentials.mdx index ed88028ee..2dd5ca97c 100644 --- a/docs/main/guides/autofill-credentials.mdx +++ b/docs/main/guides/autofill-credentials.mdx @@ -141,15 +141,19 @@ Apple provides a [tool](https://search.developer.apple.com/appsearch-validation- Branch provide a [tool](https://branch.io/resources/aasa-validator) that validates the link, content-type and JSON structure. It will show a false positive on an invalid JSON schema however. +Capgo provide a [aasa-tester](https://aasa-tester.capgo.app/) made for Capacitor that validates the link, content-type and JSON structure. It will help you to debug any Site associaltion issues. + ### Save Credentials To control the saving of username and password credentials with the native iOS Password Manager you will need to use the [capacitor-ios-autofill-save-password](https://github.com/cuongpl/capacitor-ios-autofill-save-password) plugin: ```bash -npm install capacitor-ios-autofill-save-password +npm install @capgo/capacitor-autofill-save-password ``` Your code will need to save credentials after successful login if it targets iOS (other platforms do not require this): ```typescript +import { SavePassword } from '@capgo/capacitor-autofill-save-password'; + if (Capacitor.getPlatform() === 'ios') { await SavePassword.promptDialog({ username: '[the username that was entered]', @@ -181,6 +185,9 @@ Follow the [Android Deep Links Guide](deep-links#android-configuration) to creat } ``` +Or with `@capgo/capacitor-autofill-save-password` to support Read and write passwords in keychain. +Follow this [link](https://capgo.app/docs/plugins/autofill-save-password/) to setup Android. + ## Configuration for Web Follow the [Deep Links Guide](deep-links#website-configuration) if you are targeting the web.