A capacitor plugin for using biometric features of android and iOS devices. This is a capacitor 4 version of the plugin created by Ariel Henández Musa https://github.com/arielhernandezmusa/capacitor-biometric-auth.
npm install capacitor-biometric-plugin
npx cap sync
isAvailable() => Promise<AvailableOptions>
Returns: Promise<AvailableOptions>
verify(options: { reason: string; }) => Promise<VerifyOptions>
Param | Type |
---|---|
options |
{ reason: string; } |
Returns: Promise<VerifyOptions>
Prop | Type |
---|---|
has |
boolean |
status |
ErrorCode |
type |
'none' | 'touch' | 'face' |
Prop | Type |
---|---|
error |
number |
description |
string |
Prop | Type |
---|---|
verified |
boolean |
status |
ErrorCode |