시작하기
__CAPGO_KEEP_0__을 복사하여 설치 단계와 이 플러그인의 전체 마크다운 가이드를 포함한 설정 지시를 복사하기
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.
설치
설치 제목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
옵션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
ReadPasswordResultexport interface ReadPasswordResult { /** * The username of the password. */ username: string; /** * The password of the password. */ password: string;}진실의 근원
진실의 근원이 페이지는 플러그인의 src/definitions.ts. upstream에서 pubic API이 변경되었을 때 다시 싱크를 실행하세요.