rn-local-authentication
Version:
The library helps you to authenticate users biometrically
14 lines (9 loc) • 377 B
text/typescript
import { NativeModules } from 'react-native';
import {
LocalAuthenticationNativeModule,
} from './types';
const LocalAuthentication: LocalAuthenticationNativeModule = NativeModules.RNLocalAuthentication;
if (!LocalAuthentication) {
throw new Error('bebnev/rn-local-authentication: NativeModule.RNLocalAuthentication is null');
}
export default LocalAuthentication;