react-native-biometric-data
v0.2.0
Published
Recovering and sending biometric data to a BE service
Downloads
359
Readme
react-native-biometric-data
Recover and return the body for a rekognition service
Installation
npm install react-native-biometric-data
Usage
import { BiometricDataComponent, type ReactBiometricConfig, type ReactBiometricUser } from 'react-native-biometric-data';
// ...
Define config, user and callback inputs
example:
const handleBiometricDataSubmit = (body: any) => {
console.log('Biometric data submitted:', body);
}
const user: ReactBiometricUser = {
firstName: 'John',
lastName: 'Doe',
email: '[email protected]',
}
const config: ReactBiometricConfig = {
apiBaseUrl: 'https://test.com/api/base/url/',
biometricDataEndpoint: 'biometric/data/endpoint/'
}
return (
<View style={styles.container}>
<BiometricDataComponent config={config}
onSubmit={handleBiometricDataSubmit}
user={user}
/>
</View>
);
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
Made with create-react-native-library