Getting Started
このプラグインの全体のソースガイドとインストール手順を含むセットアッププロンプトをコピーしてください。
Set up this Capacitor plugin in the project.
Use the package manager already used by the project.
Install these package(s): `@capgo/capacitor-autofill-save-password`
Run the required Capacitor sync/update step after installation.
Read this markdown guide for the full setup steps: https://raw.githubusercontent.com/Cap-go/website/refs/heads/main/apps/docs/src/content/docs/docs/plugins/autofill-save-password/getting-started.mdx
Use that guide for platform-specific steps, native file edits, permissions, config changes, imports, and usage setup.
If that guide references other docs pages, read them too.
インストール
「インストール」のセクションCapgoのAIアシストセットアップを使用してプラグインをインストールできます。AIツールにCapgoスキルを追加するには、以下のコマンドを使用してください。
npx skills add https://github.com/Cap-go/capgo-skills --skill capacitor-plugins次のプロンプトを使用してください。
Use the `capacitor-plugins` skill from `Cap-go/capgo-skills` to install the `@capgo/capacitor-autofill-save-password` plugin in my project.Manual Setupを選択する場合は、以下のコマンドを実行してプラットフォーム固有の指示に従ってください。
bun add @capgo/capacitor-autofill-save-passwordbunx cap syncImport
「Import」のセクションimport { SavePassword } from '@capgo/capacitor-autofill-save-password';APIの概要
「APIの概要」のセクションpromptDialog
「promptDialog」のセクションパスワードをキーチェーンに保存します。
import { SavePassword } from '@capgo/capacitor-autofill-save-password';
await SavePassword.promptDialog({ username: 'your-username', password: 'your-password'});readPassword
セクションのタイトル “readPassword”キーチェーンからパスワードを読み取ります。iOS用のアプリの関連ドメインを開発者が設定する必要があります。
import { SavePassword } from '@capgo/capacitor-autofill-save-password';
await SavePassword.readPassword();Options
セクションのタイトル “Options”export interface Options { /** * The username to save. */ username: string; /** * The password to save. */ password: string; /** * The url to save the password for. (For example: "console.capgo.app") * iOS only. */ url?: string;}ReadPasswordResult
セクションのタイトル “ReadPasswordResult”export interface ReadPasswordResult { /** * The username of the password. */ username: string; /** * The password of the password. */ password: string;}このページはプラグインの src/definitions.ts. API の変更がアップストリームで発生した場合に、再度 Sync を実行してください。
Getting Started から続けてください。
Getting Started から続けてください。あなたが使用している場合 Getting Started 認証とアカウントフローの計画に使用している場合、__CAPGO_KEEP_0__ を接続してください。 Capacitor の capacitor-autofill-save-password を使用して、@capgo/capacitor-autofill-save-password のネイティブ機能を実装してください。 Capacitor の capacitor-autofill-save-password を使用して、@capgo/capacitor-autofill-save-password の実装詳細を実装してください。 Capacitor の capacitor-social-login を使用して、@capgo/capacitor-social-login の実装詳細を実装してください。 Capacitor の capacitor-passkey を使用して、@capgo/capacitor-passkey の実装詳細を実装してください。 Capacitor の capacitor-autofill-save-password を使用して、@capgo/capacitor-autofill-save-password のネイティブ機能を実装してください。 Capacitor の capacitor-autofill-save-password を使用して、@capgo/capacitor-autofill-save-password の実装詳細を実装してください。 @capgo/capacitor-native-biometric for the implementation detail in @capgo/capacitor-native-biometric, and 2要素認証 2要素認証の実装詳細について