open-index/open-npm huggingface dataset:
npm package: @hexar/biometric-identity-sdk-react-native
Description: React Native wrapper for Biometric Identity SDK
Latest version: 1.25.2

# Biometric Identity SDK - React Native

React Native wrapper for the Biometric Identity SDK.

## Installation

```bash
npm install @hexar/biometric-identity-sdk-react-native
# or
yarn add @hexar/biometric-identity-sdk-react-native
```

### Peer Dependencies

```bash
npm install react-native-vision-camera react-native-permissions
```

### iOS Setup

Add to your `Info.plist`:

```xml
<key>NSCameraUsageDescription</key>
<string>We need camera access to capture your ID and verify your identity</string>
```

### Android Setup

Add to your `AndroidManifest.xml`:

```xml
<uses-permission android:name="android.permission.CAMERA" />
```

## Usage

```tsx
import { BiometricIdentityFlow } from '@hexar/biometric-identity-sdk-react-native';

function App() {
  return (
    <BiometricIdentityFlow
      onValidationComplete={(result) => {
        console.log('Validation complete:', result);
      }}
      onError={(error) => {
        console.error('Validation error:', error);
      }}
      theme={{
        primaryColor: '#6366F1',
        backgroundColor: '#FFFFFF',
      }}
      language="en"
    />
  );
}
```

## Props

See main SDK documentation for detailed API reference.

## License

MIT