@regulaforensics/cordova-plugin-document-reader-api 9.6.625-nightly → 9.6.626-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.
@@ -13,8 +13,8 @@
13
13
  "author": "Regula Forensics Inc.",
14
14
  "license": "commercial",
15
15
  "dependencies": {
16
- "@regulaforensics/cordova-plugin-document-reader-api": "9.6.625-nightly",
17
- "@regulaforensics/cordova-plugin-document-reader-core-fullauthrfid": "9.6.2756-nightly",
16
+ "@regulaforensics/cordova-plugin-document-reader-api": "9.6.626-beta",
17
+ "@regulaforensics/cordova-plugin-document-reader-core-fullauthrfid": "9.6.2739-rc",
18
18
  "cordova-android": "13.0.0",
19
19
  "cordova-ios": "7.1.1",
20
20
  "cordova-plugin-add-swift-support": "2.0.2",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regulaforensics/cordova-plugin-document-reader-api",
3
- "version": "9.6.625-nightly",
3
+ "version": "9.6.626-beta",
4
4
  "description": "Cordova plugin for reading and validation of identification documents (API framework)",
5
5
  "cordova": {
6
6
  "id": "@regulaforensics/cordova-plugin-document-reader-api",
package/plugin.xml CHANGED
@@ -1,5 +1,5 @@
1
1
  <?xml version='1.0' encoding='utf-8'?>
2
- <plugin id="@regulaforensics/cordova-plugin-document-reader-api" version="9.6.625-nightly" xmlns="http://apache.org/cordova/ns/plugins/1.0">
2
+ <plugin id="@regulaforensics/cordova-plugin-document-reader-api" version="9.6.626-beta" xmlns="http://apache.org/cordova/ns/plugins/1.0">
3
3
  <name>DocumentReaderApi</name>
4
4
  <description>Cordova plugin Document reader api</description>
5
5
  <license>commercial</license>
@@ -29,7 +29,7 @@
29
29
  <source url="https://github.com/CocoaPods/Specs.git"/>
30
30
  </config>
31
31
  <pods>
32
- <pod name="DocumentReaderNightly" spec="9.6.6496" />
32
+ <pod name="DocumentReaderStage" spec="9.6.6561" />
33
33
  </pods>
34
34
  </podspec>
35
35
  </platform>
@@ -1,12 +1,12 @@
1
1
  repositories {
2
2
  maven {
3
- url "https://maven.regulaforensics.com/RegulaDocumentReader/Nightly"
3
+ url "https://maven.regulaforensics.com/RegulaDocumentReader/Stage"
4
4
  }
5
5
  }
6
6
 
7
7
  dependencies {
8
8
  //noinspection GradleDependency
9
- implementation ('com.regula.documentreader:api:9.6.13028'){
9
+ implementation ('com.regula.documentreader:api:9.6.13037'){
10
10
  transitive = true
11
11
  }
12
12
  }
@@ -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];
@@ -1694,6 +1694,7 @@ class Customization {
1694
1694
  if (jsonObject == null) return null
1695
1695
  const result = new Customization()
1696
1696
 
1697
+ result.theme = jsonObject["theme"]
1697
1698
  result.showStatusMessages = jsonObject["showStatusMessages"]
1698
1699
  result.showResultStatusMessages = jsonObject["showResultStatusMessages"]
1699
1700
  result.showHelpAnimation = jsonObject["showHelpAnimation"]
@@ -2570,6 +2571,11 @@ const eMDLDeviceRetrieval = {
2570
2571
  BLE: 2,
2571
2572
  }
2572
2573
 
2574
+ const CustomizationTheme = {
2575
+ CLEAR: 0,
2576
+ LIQUID_GLASS: 1,
2577
+ }
2578
+
2573
2579
  const eRFID_BaudRate = {
2574
2580
  rfbr_106: 1,
2575
2581
  rfbr_212: 2,
@@ -4561,6 +4567,7 @@ const eVisualFieldType = {
4561
4567
  FT_JURISDICTION_SPECIFIC_DATA: 703,
4562
4568
  FT_DATA_DATE_OF_EXPIRY: 704,
4563
4569
  FT_CONSUL: 705,
4570
+ FT_CANTON_REFERENCE: 706,
4564
4571
  }
4565
4572
 
4566
4573
  const DocReaderOrientation = {
@@ -4818,6 +4825,7 @@ const Enum = {
4818
4825
  eRPRM_ResultType,
4819
4826
  FrameShapeType,
4820
4827
  eMDLDeviceRetrieval,
4828
+ CustomizationTheme,
4821
4829
  eRFID_BaudRate,
4822
4830
  LineCap,
4823
4831
  eRPRM_FieldVerificationResult,