react-native-biometric-data
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

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: 'test@example.com',
  }

  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

Package Sidebar

Install

npm i react-native-biometric-data

Weekly Downloads

1

Version

0.2.0

License

MIT

Unpacked Size

78.4 kB

Total Files

38

Last publish

Collaborators

  • sergiogar