uqudosdk-react-native 2.3.2 → 2.5.0

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 CHANGED
@@ -1,3 +1,26 @@
1
+ ## 2.5.0
2
+
3
+ * Added new document type COD_VOTER_ID for Democratic Republic of the Congo driving license
4
+ * Added new document type OMN_DL for Oman driving license
5
+ * Added new document type OMN_VL for Oman vehicle license
6
+ * From this version on in the SDK result all the fields containing a date will have an additional field with the same name plus the suffix "Formatted" that will contain the same date formatted in ISO-8601 format, e.g. '2011-12-03'
7
+ * For Android we did a small change to make sure your application can build and run on x86_64 architecture. This will allow you to test your application on x86_64 emulator but the SDK part, armeabi-v7a and arm64-v8a remain the only supported architectures
8
+ * For iOS we made sure that portrait mode is always enforced
9
+ * For iOS fixed bug where an application applying the navigation bar appearance throughout the entire app using UINavigationBar.appearance() was affecting the SDK navigation bar layout
10
+ * For iOS we made sure to close any open NFC session after tapping the skip button
11
+ * Minor bug fixes and improvements
12
+
13
+ ## 2.4.0
14
+
15
+ * Added new document type GBR_ID for UK resident id
16
+ * Added new document type COD_DL for Democratic Republic of the Congo driving license
17
+ * Improved glare detection during document scanning
18
+ * From this version on we will start using the Analytics feature of the SDK internally to push the events to our API. The feature will continue be available to your application as well, nothing has change in that regard. This will allow us in the future to provide to our customers accurate statistics of the onboarding flow. The data sent are totally anonuymous and don't include any personal data.
19
+ * Fixed issue in the reading module (NFC) for Bahrain ID that could potentially failing for some versions of the identity card
20
+ * Minor bug fixes and improvements
21
+ * For Android we pushed the target SDK to version 33
22
+ * For Android we updagraded a few dependencies including the camera library. The dependencies upgrade will require you to upgrade gradle to version 7.5
23
+
1
24
  ## 2.3.2
2
25
 
3
26
  * Fixed issue on the iOS SDK where the camera doesn't get activated when the scanner help page is disabled and the camera permission is given for the first time
@@ -1,7 +1,7 @@
1
- def DEFAULT_COMPILE_SDK_VERSION = 30
2
- def DEFAULT_BUILD_TOOLS_VERSION = '30.0.2'
1
+ def DEFAULT_COMPILE_SDK_VERSION = 33
2
+ def DEFAULT_BUILD_TOOLS_VERSION = '30.0.3'
3
3
  def DEFAULT_MIN_SDK_VERSION = 21
4
- def DEFAULT_TARGET_SDK_VERSION = 30
4
+ def DEFAULT_TARGET_SDK_VERSION = 33
5
5
 
6
6
  def safeExtGet(prop, fallback) {
7
7
  rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
@@ -33,5 +33,5 @@ android {
33
33
 
34
34
  dependencies {
35
35
  implementation 'com.facebook.react:react-native:+'
36
- implementation 'io.uqudo.sdk:Uqudo:2.3.0'
36
+ implementation 'io.uqudo.sdk:Uqudo:2.5.0'
37
37
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "uqudosdk-react-native",
3
3
  "title": "React Native UqudoId",
4
- "version": "2.3.2",
4
+ "version": "2.5.0",
5
5
  "description": "Uqudo SDK react native module",
6
6
  "main": "index.js",
7
7
  "author": {
@@ -77,7 +77,12 @@ export const DocumentType = Object.freeze(
77
77
  SEN_ID: 'SEN_ID',
78
78
  UGA_VOTER_ID: 'UGA_VOTER_ID',
79
79
  DZA_ID: 'DZA_ID',
80
- TUR_ID: 'TUR_ID'
80
+ TUR_ID: 'TUR_ID',
81
+ GBR_ID: 'GBR_ID',
82
+ COD_DL: 'COD_DL',
83
+ OMN_DL: 'OMN_DL',
84
+ OMN_VL: 'OMN_VL',
85
+ COD_VOTER_ID: 'COD_VOTER_ID'
81
86
  }
82
87
  );
83
88
 
@@ -13,5 +13,5 @@ Pod::Spec.new do |s|
13
13
  s.source = { :http => 'https://uqudo.com' }
14
14
  s.header_dir = 'UqudoSDK'
15
15
  s.dependency 'React'
16
- s.dependency 'UqudoSDK', '2.3.2'
16
+ s.dependency 'UqudoSDK', '2.5.0'
17
17
  end