uqudosdk-react-native 2.7.1 → 2.7.3
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/CHANGELOG.md +24 -0
- package/android/build.gradle +1 -1
- package/ios/UqudoId.m +6 -0
- package/package.json +1 -1
- package/uqudoBuilder/uqudo.js +1 -0
- package/uqudosdk-react-native.podspec +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
## 2.7.3
|
|
2
|
+
|
|
3
|
+
* Corrected the lookup flow process associated with the Nigerian National Identification Number (NIN), which now necessitates entering the 16 alphanumeric characters of the virtual NIN
|
|
4
|
+
* Added compatibility for applications designed to target compileSdk version 34 on the Android platform
|
|
5
|
+
|
|
6
|
+
## 2.7.2
|
|
7
|
+
|
|
8
|
+
* Added scan support for Iraqi ID.
|
|
9
|
+
* Added two new session status codes:
|
|
10
|
+
- SESSION_INVALIDATED_CAMERA_NOT_AVAILABLE: If the camera is not available, the SDK drops the session with this status. Possible reasons for the camera not being available include:
|
|
11
|
+
- Hardware Failure: Hardware issues or malfunctions can render the camera module inoperable.
|
|
12
|
+
- Privacy Settings: The user may have disabled the camera functionality through privacy settings or restrictions on the device.
|
|
13
|
+
- Camera in Use by Another App: If another application is actively using the camera, attempts to access it from a different app may fail. Possible scenarios:
|
|
14
|
+
- Camera is in Use by System Process: System-level processes or services may temporarily take control of the camera (e.g., on iOS, the camera might be used by the system camera app, FaceTime, or other built-in features).
|
|
15
|
+
- Background Camera Use: Some apps may continue to use the camera even when in the background (e.g., video conferencing apps might continue to stream video).
|
|
16
|
+
- Camera Hardware Limitations: Certain devices or hardware configurations may impose limitations on camera access (e.g., restricting access to the camera when certain power-saving features are enabled).
|
|
17
|
+
- Device-Specific Behavior: Device manufacturers and operating system providers may implement different policies or behaviors regarding camera access, leading to variations across devices and platforms.
|
|
18
|
+
- SESSION_INVALIDATED_CAMERA_PERMISSION_NOT_GRANTED: If the end user denies camera access, the SDK drops the session with this status.
|
|
19
|
+
In both cases, it's necessary to manage the error codes and interact with the end user accordingly.
|
|
20
|
+
* In Android, fixed a bug where, in rare cases during the scanning step, if the application was put in the background and subsequently killed by the OS, the session ID was lost, and the user wasn't able to proceed with the KYC session.
|
|
21
|
+
* Improved the quality detection during scanning and fixed a bug where the back side of the Rwand ID was hard to scan.
|
|
22
|
+
* Improved HTTP retry mechanism when interacting with the server during sudden and temporary connection failures.
|
|
23
|
+
* Minor bug fixes and improvements.
|
|
24
|
+
|
|
1
25
|
## 2.7.1
|
|
2
26
|
|
|
3
27
|
* We have introduced a new document type called MRZ. This document type allows you to scan documents with MRZ type TD1 or TD3. Additionally, you can enable the reading module, and if the issuer is supported, the SDK will guide the user to the reading/NFC step. Please note that no additional features are available for the MRZ document type
|
package/android/build.gradle
CHANGED
package/ios/UqudoId.m
CHANGED
|
@@ -631,6 +631,12 @@ RCT_EXPORT_METHOD(isLookupFacialRecognitionSupported:(NSString *)documentType re
|
|
|
631
631
|
case SESSION_INVALIDATED_OTP_TOO_MANY_ATTEMPTS:
|
|
632
632
|
code = @"SESSION_INVALIDATED_OTP_TOO_MANY_ATTEMPTS";
|
|
633
633
|
break;
|
|
634
|
+
case SESSION_INVALIDATED_CAMERA_NOT_AVAILABLE:
|
|
635
|
+
code = @"SESSION_INVALIDATED_CAMERA_NOT_AVAILABLE";
|
|
636
|
+
break;
|
|
637
|
+
case SESSION_INVALIDATED_CAMERA_PERMISSION_NOT_GRANTED:
|
|
638
|
+
code = @"SESSION_INVALIDATED_CAMERA_PERMISSION_NOT_GRANTED";
|
|
639
|
+
break;
|
|
634
640
|
}
|
|
635
641
|
NSString *task = nil;
|
|
636
642
|
switch (status.statusTask) {
|
package/package.json
CHANGED
package/uqudoBuilder/uqudo.js
CHANGED