Reading finger print data using RD services in Android.
npm install react-native-instantpay-rd-serviceThis module supports RD (Registered Device) services for biometric authentication, including fingerprint capture and face capture. These features comply with UIDAI (Unique Identification Authority of India) standards, enabling secure and reliable biometric authentication, Supported only in Android.
* Fingerprint Capture: Integrates with certified RD fingerprint devices to capture biometric data.
* Face Capture: Utilizes UIDAI-certified RD face authentication apps for capturing face biometrics.
* Iris Capture: Integrates with certified RD Iris devices to capture biometric data.
Ensure that the required RD service apps are installed on the device:
1. Fingerprint Devices: Install the respective RD service app for your device (e.g., Mantra, Morpho).
2. Face Authentication: Install the UIDAI Face RD service app AadhaarFaceRD
* Permissions: Ensure that the app has the necessary permissions to interact with the RD service.
* Camera permissions must be granted.
3. Iris Devices: Install the respective RD service app for your device (e.g., Mantra, Morpho).
``sh`
npm install react-native-instantpay-rd-service
`js
import RdServices from "react-native-instantpay-rd-service";
// ...
// For Fingerprint Capture
let fingerPidOption = "
const result = await RdServices.getFingerPrint('
| Field | Finger Device Value | Explanation |
| --------- | ------------------- | --------------------------------- |
| fCount | 1 or 2 | Number of fingerprints to capture |fType
| | 0'(0:FMR,1:FIR)' | Fingerprint type (0 = default) |iCount
| | 0 | Iris not used |iType
| | 0 | Iris type (ignored) |pCount
| | 0 | Face auth not used |pType
| | 0 | Face type |format
| | 0 | XML PID block |pidVer
| | 2.0 | UIDAI mandated PID version |timeout
| | 20000 | Capture timeout in ms |env
| | P / PP | Production / Pre-Prod |posh
| | UNKNOWN | Position hint |
// For Face Auth Capture
let facePidOptions = "
const result = await RdServices.openFaceAuth(facePidOptions);
// For Iris Capture
let irisPidOption = '
const result = await RdServices.openEyeAuth('
| Attribute | Value | Meaning |
| --------- | --------- | ----------------------------------------- |
| iCount | 1 | Number of iris captures (1 = single iris) |iType
| | 0 | Iris type (0 = default) |fCount
| | 0 | No fingerprint ( eg. MIS100V2 is iris) |pCount
| | 0 | No face authentication |format
| | 0 | XML PID block |pidVer
| | 2.0 | UIDAI PID version |timeout
| | 20000 | 20 seconds capture timeout |env
| | P | Production (P), use PP for pre-prod |posh
| | UNKNOWN | Position hint |
``
MIT
---
Created By Instantpay