시작하기
설치 단계와 이 플러그인의 전체 마크다운 가이드를 포함하는 설정 프롬프트를 복사하세요.
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.
설치
설치AI-assisted 설치를 사용하여 플러그인을 설치할 수 있습니다. 다음 명령어를 사용하여 Capgo 기능을 AI 도구에 추가하세요:
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 sync수입
수입 섹션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
__CAPGO_KEEP_0__키 체인에서 암호를 읽습니다. iOS 앱에 대한 연관된 도메인을 개발자가 설정해야 합니다.
import { SavePassword } from '@capgo/capacitor-autofill-save-password';
const result = await SavePassword.readPassword();// The result holds sensitive values: use it without logging it.타입 참조
타입 참조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.tsAPI의 공개 변경 사항이 업스트림에서 다시 동기화할 때 다시 동기화하십시오.
시작하기
시작하기 섹션이 플러그인을 사용 중이라면 시작하기 인증 및 계정 흐름을 계획하는 데 사용하는 경우 @capgo/capacitor-autofill-save-password @capgo/capacitor-autofill-save-password @capgo/capacitor-social-login @capgo/capacitor-social-login @capgo/capacitor-passkey @capgo/capacitor-passkey @capgo/capacitor-native-biometric @capgo/capacitor-native-biometric 두 단계 인증 두 단계 인증