Keychain usage in Capacitor v8+ apps
npm install capacitor-native-keychainKeychain usage in Capacitor v8+ apps
``bash`
npm install capacitor-native-keychain
npx cap sync
`typescript`
set(options: { key: string; value: string; accessGroup?: string; }) => Promise<{ value: string; }>
| Param | Type |
| ------------- | ------------------------------------------------------------------ |
| options | { key: string; value: string; accessGroup?: string; } |
Returns: Promise<{ value: string; }>
--------------------
`typescript`
get(options: { key: string; accessGroup?: string; }) => Promise<{ value: string; }>
| Param | Type |
| ------------- | --------------------------------------------------- |
| options` | { key: string; accessGroup?: string; } |
Returns: Promise<{ value: string; }>
--------------------