@regulaforensics/react-native-document-reader-api 9.6.629-nightly → 9.6.631-beta

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.
@@ -14,6 +14,6 @@ Pod::Spec.new do |s|
14
14
  s.source = { :http => 'file:' + __dir__ }
15
15
  s.ios.deployment_target = '13.0'
16
16
  s.source_files = "ios/*.{h,m}"
17
- s.dependency 'DocumentReaderNightly', '9.6.6496'
17
+ s.dependency 'DocumentReaderStage', '9.6.6561'
18
18
  s.dependency 'React'
19
19
  end
@@ -20,7 +20,7 @@ android {
20
20
  rootProject.allprojects {
21
21
  repositories {
22
22
  maven {
23
- url "https://maven.regulaforensics.com/RegulaDocumentReader/Nightly"
23
+ url "https://maven.regulaforensics.com/RegulaDocumentReader/Stage"
24
24
  }
25
25
  }
26
26
  }
@@ -29,7 +29,7 @@ dependencies {
29
29
  //noinspection GradleDynamicVersion
30
30
  implementation 'com.facebook.react:react-native:+'
31
31
  //noinspection GradleDependency
32
- implementation('com.regula.documentreader:api:9.6.13038') {
32
+ implementation('com.regula.documentreader:api:9.5.13040') {
33
33
  transitive = true
34
34
  }
35
35
  }
@@ -1,4 +1,5 @@
1
- source "https://github.com/CocoaPods/Specs.git"
1
+ source 'https://github.com/CocoaPods/Specs.git'
2
+ source 'https://github.com/regulaforensics/podspecs.git'
2
3
 
3
4
  # Resolve react_native_pods.rb with node to allow for hoisting
4
5
  require Pod::Executable.execute_command('node', ['-p',
@@ -10,8 +10,8 @@
10
10
  "test": "jest"
11
11
  },
12
12
  "dependencies": {
13
- "@regulaforensics/react-native-document-reader-api": "9.6.629-nightly",
14
- "@regulaforensics/react-native-document-reader-core-fullauthrfid": "9.6.2752-nightly",
13
+ "@regulaforensics/react-native-document-reader-api": "9.6.631-beta",
14
+ "@regulaforensics/react-native-document-reader-core-fullauthrfid": "9.5.2716",
15
15
  "@rneui/base": "4.0.0-rc.7",
16
16
  "@rneui/themed": "4.0.0-rc.7",
17
17
  "react": "19.0.0",
package/index.d.ts CHANGED
@@ -2663,6 +2663,7 @@ export class CustomizationMatrices {
2663
2663
  }
2664
2664
 
2665
2665
  export class Customization {
2666
+ theme?: number
2666
2667
  showStatusMessages?: boolean
2667
2668
  showResultStatusMessages?: boolean
2668
2669
  showHelpAnimation?: boolean
@@ -2743,6 +2744,7 @@ export class Customization {
2743
2744
  if (jsonObject == null || jsonObject == undefined) return undefined
2744
2745
  const result = new Customization
2745
2746
 
2747
+ result.theme = jsonObject["theme"]
2746
2748
  result.showStatusMessages = jsonObject["showStatusMessages"]
2747
2749
  result.showResultStatusMessages = jsonObject["showResultStatusMessages"]
2748
2750
  result.showHelpAnimation = jsonObject["showHelpAnimation"]
@@ -3571,7 +3573,7 @@ export const eRFID_ErrorCodes = {
3571
3573
  RFID_ERROR_LAYER6_GENERAL_AUTH_FAILURE: 0x86000309,
3572
3574
  RFID_ERROR_LAYER6_FILE_NOT_FOUND: 0x80006A82,
3573
3575
  RFID_ERROR_LAYER6_FILE_EOF1: 0x80006282,
3574
- RFID_ERROR_LAYER6_FILE_EOF2: 0x80006B00,
3576
+ RFID_LAYER6_WRONG_PARAMS: 0x80006B00,
3575
3577
  RFID_ERROR_LAYER6_INCORRECT_PARAMS: 0x80006A80,
3576
3578
  RFID_ERROR_LAYER6_NO_REFERENCE_DATA: 0x80006A88,
3577
3579
  RFID_ERROR_LAYER6_PWD_SUSPEND: 0x800063C1,
@@ -3856,6 +3858,11 @@ export const eMDLDeviceRetrieval = {
3856
3858
  BLE: 2,
3857
3859
  }
3858
3860
 
3861
+ export const CustomizationTheme = {
3862
+ CLEAR: 0,
3863
+ LIQUID_GLASS: 1,
3864
+ }
3865
+
3859
3866
  export const eRFID_BaudRate = {
3860
3867
  rfbr_106: 1,
3861
3868
  rfbr_212: 2,
@@ -5847,6 +5854,7 @@ export const eVisualFieldType = {
5847
5854
  FT_JURISDICTION_SPECIFIC_DATA: 703,
5848
5855
  FT_DATA_DATE_OF_EXPIRY: 704,
5849
5856
  FT_CONSUL: 705,
5857
+ FT_CANTON_REFERENCE: 706,
5850
5858
  }
5851
5859
 
5852
5860
  export const DocReaderOrientation = {
@@ -6104,6 +6112,7 @@ export const Enum = {
6104
6112
  eRPRM_ResultType,
6105
6113
  FrameShapeType,
6106
6114
  eMDLDeviceRetrieval,
6115
+ CustomizationTheme,
6107
6116
  eRFID_BaudRate,
6108
6117
  LineCap,
6109
6118
  eRPRM_FieldVerificationResult,
package/index.js CHANGED
@@ -1769,6 +1769,7 @@ export class Customization {
1769
1769
  if (jsonObject == null) return null
1770
1770
  const result = new Customization()
1771
1771
 
1772
+ result.theme = jsonObject["theme"]
1772
1773
  result.showStatusMessages = jsonObject["showStatusMessages"]
1773
1774
  result.showResultStatusMessages = jsonObject["showResultStatusMessages"]
1774
1775
  result.showHelpAnimation = jsonObject["showHelpAnimation"]
@@ -2360,7 +2361,7 @@ export const eRFID_ErrorCodes = {
2360
2361
  RFID_ERROR_LAYER6_GENERAL_AUTH_FAILURE: 0x86000309,
2361
2362
  RFID_ERROR_LAYER6_FILE_NOT_FOUND: 0x80006A82,
2362
2363
  RFID_ERROR_LAYER6_FILE_EOF1: 0x80006282,
2363
- RFID_ERROR_LAYER6_FILE_EOF2: 0x80006B00,
2364
+ RFID_LAYER6_WRONG_PARAMS: 0x80006B00,
2364
2365
  RFID_ERROR_LAYER6_INCORRECT_PARAMS: 0x80006A80,
2365
2366
  RFID_ERROR_LAYER6_NO_REFERENCE_DATA: 0x80006A88,
2366
2367
  RFID_ERROR_LAYER6_PWD_SUSPEND: 0x800063C1,
@@ -2645,6 +2646,11 @@ export const eMDLDeviceRetrieval = {
2645
2646
  BLE: 2,
2646
2647
  }
2647
2648
 
2649
+ export const CustomizationTheme = {
2650
+ CLEAR: 0,
2651
+ LIQUID_GLASS: 1,
2652
+ }
2653
+
2648
2654
  export const eRFID_BaudRate = {
2649
2655
  rfbr_106: 1,
2650
2656
  rfbr_212: 2,
@@ -4636,6 +4642,7 @@ export const eVisualFieldType = {
4636
4642
  FT_JURISDICTION_SPECIFIC_DATA: 703,
4637
4643
  FT_DATA_DATE_OF_EXPIRY: 704,
4638
4644
  FT_CONSUL: 705,
4645
+ FT_CANTON_REFERENCE: 706,
4639
4646
  }
4640
4647
 
4641
4648
  export const DocReaderOrientation = {
@@ -4893,6 +4900,7 @@ export const Enum = {
4893
4900
  eRPRM_ResultType,
4894
4901
  FrameShapeType,
4895
4902
  eMDLDeviceRetrieval,
4903
+ CustomizationTheme,
4896
4904
  eRFID_BaudRate,
4897
4905
  LineCap,
4898
4906
  eRPRM_FieldVerificationResult,
package/ios/RGLWConfig.m CHANGED
@@ -388,6 +388,8 @@
388
388
  }
389
389
 
390
390
  +(void)setCustomization:(NSDictionary*)options :(RGLCustomization*)customization {
391
+ if(options[@"theme"]) customization.theme = [options[@"theme"] integerValue];
392
+
391
393
  // Boolean
392
394
  if([options valueForKey:@"showStatusMessages"] != nil)
393
395
  customization.showStatusMessages = [[options valueForKey:@"showStatusMessages"] boolValue];
@@ -533,6 +535,7 @@
533
535
 
534
536
  +(NSDictionary*)getCustomization:(RGLCustomization*)customization {
535
537
  NSMutableDictionary *result = [NSMutableDictionary new];
538
+ result[@"theme"] = [NSNumber numberWithInteger:customization.theme];
536
539
 
537
540
  // Boolean
538
541
  result[@"showStatusMessages"] = [NSNumber numberWithBool:customization.showStatusMessages];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regulaforensics/react-native-document-reader-api",
3
- "version": "9.6.629-nightly",
3
+ "version": "9.6.631-beta",
4
4
  "description": "React Native module for reading and validation of identification documents (API framework)",
5
5
  "main": "index.js",
6
6
  "scripts": {