UNPKG

rn-local-authentication

Version:
12 lines (11 loc) 784 B
export declare type BiometryTypeIOS = 'TouchID' | 'FaceID' | 'None'; export declare enum BiometryTypeIOSEnum { None = 0, TouchID = 1, FaceID = 2, Unknown = -1 } export declare type BiometryStatusDefault = 'BiometryIsAvailable' | 'BiometryNotAvailable' | 'BiometryNotEnrolled' | 'BiometryLockout' | 'SystemCancel' | 'AppCancel' | 'UserFallback' | 'UserCancel' | 'InvalidContext' | 'PasscodeNotSet' | 'AuthenticationFailed'; export declare type BiometryStatusIOS = BiometryStatusDefault; export declare type BiometryStatusAndroid = BiometryStatusDefault & ('BiometryTemporaryNotAvailable' | 'BiometryTemporaryLockout' | 'NoSpace' | 'Timeout' | 'UnableToProcess' | 'UnexpectedVendorError'); export declare type BiometryStatus = BiometryStatusIOS & BiometryStatusAndroid;