
implementation("io.github.jamal-wia:kmptoolkit-biometric:1.1.0")A biometric authentication gate: one BiometricGate interface, a typed BiometricAvailability telling you why the device cannot authenticate, and a typed BiometricResult distinguishing an authenticated user from a cancelled prompt, a rejected finger, a temporary lockout, a permanent lockout, an unenrolled device and absent hardware. Pick this module if your shared Kotlin code needs to put a biometric check in front of a screen without writing the androidx.biometric FragmentActivity dance on Android and the LAContext dance on iOS — it declares no permission of its own, ships no prompt copy (the title, subtitle and cancel label are required parameters of every call), and reports every failure as a value instead of an exception.