UNPKG

one

Version:

One is a React framework for web, iOS, and Android apps.

15 lines • 546 B
import type { HybridObject } from 'react-native-nitro-modules'; export type LocalBiometryType = 'none' | 'touchID' | 'faceID' | 'opticID'; export interface LocalAuthenticationStatus { available: boolean; biometryType: LocalBiometryType; errorCode?: number; } export interface OneLocalAuthentication extends HybridObject<{ ios: 'swift'; android: 'kotlin'; }> { canEvaluatePolicy(): LocalAuthenticationStatus; evaluatePolicy(reason: string): Promise<boolean>; } //# sourceMappingURL=OneLocalAuthentication.nitro.d.ts.map