Skip to content

getSupportedBiometryType() ​

ts
function getSupportedBiometryType(): Promise<null | BIOMETRY_TYPE>

Gets the type of biometric authentication supported by the device.

Returns ​

Promise<null | BIOMETRY_TYPE>

Resolves to a BIOMETRY_TYPE when supported, otherwise null.

Example ​

typescript
const biometryType = await Keychain.getSupportedBiometryType();
console.log('Supported Biometry Type:', biometryType);

Defined in ​

index.ts:258