UNPKG

expo-local-authentication

Version:

Provides an API for FaceID and TouchID (iOS) or the Fingerprint API (Android) to authenticate the user with a face or fingerprint scan.

18 lines (16 loc) 483 B
import type { AuthenticationType } from './LocalAuthentication.types'; import { SecurityLevel } from './LocalAuthentication.types'; export default { async hasHardwareAsync(): Promise<boolean> { return false; }, async isEnrolledAsync(): Promise<boolean> { return false; }, async getEnrolledLevelAsync(): Promise<SecurityLevel> { return SecurityLevel.NONE; }, async supportedAuthenticationTypesAsync(): Promise<AuthenticationType[]> { return []; }, };