docs.rs failed to build tauri-plugin-keychain-2.0.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Tauri keychain plugin
This plugin is used to hold keys or password, and even after uninstalling and reinstalling your app, they still exist
- ios: impl of Keychain services and your need xcode add Signing & Capabilities - Keychain Sharing
- android: impl of AccountManager (Upcoming Publish)
get keychain
import { getItem } from 'tauri-plugin-keychain'
getItem(key)
- or
import { invoke } from '@tauri-apps/api/core'
invoke('plugin:keychain|get_item', {
key
})
save keychain
import { saveItem } from 'tauri-plugin-keychain'
saveItem(key, password)
- or
import { invoke } from '@tauri-apps/api/core'
invoke('plugin:keychain|save_item', {
key,
password
})
remove keychain
import { removeItem } from 'tauri-plugin-keychain'
removeItem(key)
- or
import { invoke } from '@tauri-apps/api/core'
invoke('plugin:keychain|remove_item', {
key
})