Passer au contenu

@capgo/capacitor-native-biometric

Access native biometric authentication APIs for Android and iOS, providing secure and convenient user authentication.

Comprehensive methods

Supports verification, secure credential storage, secure retrieval, and biometry-change events.

Stronger availability signals

Reads isAvailable, authenticationStrength, and secure lock-state details for robust decision-making.

Credential access controls

Stores credentials with optional Keychain/Keystore access policies using AccessControl.

Prompt control

Configure reason, titles, allowed biometry types, retry count, and platform-specific fallback behavior.

Event-driven updates

Listen to biometryChange and adapt login flows when biometrics change while app is in background.

Cross-platform docs

See the full guide for setup and API usage in the getting-started page.