kmp-biometric-auth
Installation
SKILL.md
When to Use This Skill
Use when:
- Protecting a sensitive action (payment, delete, settings change) with biometric authentication
- Logging in with fingerprint or Face ID instead of a password
- Unlocking stored credentials from the device keystore after biometric verification
- Falling back to device PIN/password when biometrics are unavailable or not enrolled
Trigger keywords: biometric, biometric auth, fingerprint, Face ID, Touch ID, BiometricPrompt, LocalAuthentication, LAContext, biometric result, device credential, biometric unlock, secure auth KMP, expect actual biometric, CryptoObject, biometric fallback.
Freshness rule: androidx.biometric:biometric 1.2+ supports BiometricManager for
capability checking before showing the prompt. The BiometricPrompt API is in
androidx.fragment; the CryptoObject path requires a FragmentActivity. iOS 17+
deprecated kLAPolicyDeviceOwnerAuthenticationWithBiometrics for some flows — verify
against the latest Apple docs when targeting iOS 17+.