react-native-rdservice-fingerprintscanner 2.0.0 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -1,21 +1,28 @@
|
|
|
1
1
|
# 🛠️ react-native-rdservice-fingerprintscanner
|
|
2
2
|
|
|
3
|
-
React Native library to easily integrate Fingerprint Device support in your app (for UIDAI Aadhaar
|
|
3
|
+
React Native library to easily integrate Fingerprint Device support and Face capture via the [AadhaarFaceRD](https://play.google.com/store/apps/details?id=in.gov.uidai.facerd&hl=en) app in your app (for UIDAI Aadhaar-based secure authentication in India). It is only for Android Devices.
|
|
4
4
|
|
|
5
|
-
As per [UIDAI](https://uidai.gov.in/) (Aadhaar) guidelines, only registered biometric devices can be used for Aadhaar Authentication. These devices come with RDService drivers (usually available on PlayStore) that
|
|
5
|
+
As per [UIDAI](https://uidai.gov.in/) (Aadhaar) guidelines, only registered biometric devices can be used for Aadhaar Authentication. These devices come with RDService drivers (usually available on PlayStore) that expose a standard API for fingerprint capture.
|
|
6
6
|
|
|
7
|
-
This library makes it easy to work with all such devices so that your app can
|
|
7
|
+
This library makes it easy to work with all such devices and the [AadhaarFaceRD](https://play.google.com/store/apps/details?id=in.gov.uidai.facerd&hl=en) app so that your app can:
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
- 🔍 Search for installed RDService drivers.
|
|
10
|
+
- ✋ Capture fingerprint data from registered devices.
|
|
11
|
+
- 😃 Capture face data via the AadhaarFaceRD app.
|
|
12
|
+
|
|
13
|
+
For reference, you may check out the following UIDAI documents:
|
|
14
|
+
- [📄 Version 2.0, Revision 6 – Aadhaar Registered Devices](https://uidai.gov.in/images/resource/Aadhaar_Registered_Devices_2_0_4.pdf)
|
|
15
|
+
- [📄 Version 2.0, Revision 7 – Aadhaar Registered Devices](https://uidai.gov.in/images/resource/Aadhaar_Registered_Devices_2_0_Revision-7_of_Jan_2022.pdf)
|
|
16
|
+
- [📄 Version 2.5, Revision 1 – Aadhaar Authentication API](https://uidai.gov.in/images/resource/Aadhaar_Authentication_API-2.5_Revision-1_of_January_2022.pdf)
|
|
10
17
|
|
|
11
18
|
## 🚀 Version Support (Old Architecture vs New Architecture)
|
|
12
19
|
### ⚠️ Important Update (Version 2.x.x)
|
|
13
20
|
|
|
14
21
|
From v2.x.x, this library now supports React Native New Architecture using:
|
|
15
22
|
|
|
16
|
-
- TurboModule Codegen
|
|
17
|
-
- Fabric-compatible structure
|
|
18
|
-
- Kotlin (Android)
|
|
23
|
+
- ⚡ TurboModule Codegen
|
|
24
|
+
- 🧩 Fabric-compatible structure
|
|
25
|
+
- 🛠️ Kotlin (Android)
|
|
19
26
|
|
|
20
27
|
### ✅ Version Compatibility
|
|
21
28
|
|
|
@@ -4,7 +4,6 @@ import android.app.Activity;
|
|
|
4
4
|
import android.content.Intent;
|
|
5
5
|
import android.content.pm.ResolveInfo;
|
|
6
6
|
import android.os.Bundle;
|
|
7
|
-
import android.util.Log;
|
|
8
7
|
|
|
9
8
|
import androidx.annotation.NonNull;
|
|
10
9
|
|
|
@@ -273,7 +272,6 @@ public class RDServiceManager {
|
|
|
273
272
|
Intent intent = new Intent("in.gov.uidai.rdservice.face.CAPTURE");
|
|
274
273
|
intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
|
|
275
274
|
intent.putExtra("request", pid_options);
|
|
276
|
-
Log.d("FACETRY","insidetryu");
|
|
277
275
|
activity.startActivityForResult(intent, FACE_SCANNER_CAPTURE);
|
|
278
276
|
}
|
|
279
277
|
|