@regulaforensics/cordova-plugin-document-reader-api 7.3.502-nightly → 7.3.507-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": "7.3.502-nightly",
17
- "@regulaforensics/cordova-plugin-document-reader-core-fullauthrfid": "",
16
+ "@regulaforensics/cordova-plugin-document-reader-api": "7.3.507-beta",
17
+ "@regulaforensics/cordova-plugin-document-reader-core-fullauthrfid": "7.3.476-beta",
18
18
  "cordova-android": "12.0.1",
19
19
  "cordova-ios": "7.0.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": "7.3.502-nightly",
3
+ "version": "7.3.507-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="cordova-plugin-document-reader-api" version="7.3.502-nightly"
2
+ <plugin id="cordova-plugin-document-reader-api" version="7.3.507-beta"
3
3
  xmlns="http://apache.org/cordova/ns/plugins/1.0">
4
4
  <name>DocumentReaderApi</name>
5
5
  <description>Cordova plugin Document reader api</description>
@@ -26,7 +26,7 @@
26
26
  <config>
27
27
  </config>
28
28
  <pods>
29
- <pod name="DocumentReaderNightly" spec="7.3.3707" />
29
+ <pod name="DocumentReaderBeta" spec="7.3.3716" />
30
30
  </pods>
31
31
  </podspec>
32
32
  </platform>
@@ -157,6 +157,7 @@ fun setProcessParams(processParams: ProcessParam, opts: JSONObject) = opts.forEa
157
157
  "timeoutFromFirstDetect" -> processParams.timeoutFromFirstDetect = v.toDouble()
158
158
  "timeoutFromFirstDocType" -> processParams.timeoutFromFirstDocType = v.toDouble()
159
159
  "documentAreaMin" -> processParams.documentAreaMin = v.toDouble()
160
+ "timeoutLiveness" -> processParams.timeoutLiveness = v.toDouble()
160
161
  "documentIDList" -> processParams.documentIDList = v.toIntArray()
161
162
  "fieldTypesFilter" -> processParams.fieldTypesFilter = v.toIntArray()
162
163
  "resultTypeOutput" -> processParams.resultTypeOutput = v.toIntArray()
@@ -233,6 +234,7 @@ fun getProcessParams(processParams: ProcessParam) = mapOf(
233
234
  "timeoutFromFirstDetect" to processParams.timeoutFromFirstDetect,
234
235
  "timeoutFromFirstDocType" to processParams.timeoutFromFirstDocType,
235
236
  "documentAreaMin" to processParams.documentAreaMin,
237
+ "timeoutLiveness" to processParams.timeoutLiveness,
236
238
  "documentIDList" to processParams.documentIDList.generate(),
237
239
  "fieldTypesFilter" to processParams.fieldTypesFilter.generate(),
238
240
  "documentGroupFilter" to processParams.documentGroupFilter.generate(),
@@ -10,13 +10,13 @@ android {
10
10
 
11
11
  repositories {
12
12
  maven {
13
- url "https://maven.regulaforensics.com/RegulaDocumentReader/Nightly"
13
+ url "https://maven.regulaforensics.com/RegulaDocumentReader/Beta"
14
14
  }
15
15
  }
16
16
 
17
17
  dependencies {
18
18
  //noinspection GradleDependency
19
- implementation ('com.regula.documentreader:api:7.3.9974'){
19
+ implementation ('com.regula.documentreader:api:7.1.9980'){
20
20
  transitive = true
21
21
  }
22
22
  }
@@ -218,6 +218,8 @@
218
218
  processParams.processAuth = [options valueForKey:@"processAuth"];
219
219
  if([options valueForKey:@"convertCase"] != nil)
220
220
  processParams.convertCase = [self textProcessingWithNumber:[options valueForKey:@"convertCase"]];
221
+ if(options[@"logLevel"]) processParams.logLevel = options[@"logLevel"];
222
+ if(options[@"mrzDetectMode"]) processParams.mrzDetectMode = options[@"mrzDetectMode"];
221
223
 
222
224
  // String
223
225
  if([options valueForKey:@"dateFormat"] != nil)
@@ -236,6 +238,8 @@
236
238
  processParams.timeoutFromFirstDocType = [options valueForKey:@"timeoutFromFirstDocType"];
237
239
  if([options valueForKey:@"documentAreaMin"] != nil)
238
240
  processParams.documentAreaMin = [options valueForKey:@"documentAreaMin"];
241
+ if([options valueForKey:@"timeoutLiveness"] != nil)
242
+ processParams.timeoutLiveness = [options valueForKey:@"timeoutLiveness"];
239
243
 
240
244
  // JSONArray
241
245
  if([options valueForKey:@"documentIDList"] != nil)
@@ -308,6 +312,8 @@
308
312
  result[@"useFaceApi"] = processParams.useFaceApi;
309
313
  result[@"useAuthenticityCheck"] = processParams.useAuthenticityCheck;
310
314
  result[@"checkHologram"] = processParams.checkHologram;
315
+ result[@"logLevel"] = processParams.logLevel;
316
+ result[@"mrzDetectMode"] = processParams.mrzDetectMode;
311
317
 
312
318
  // Int
313
319
  result[@"measureSystem"] = [NSNumber numberWithInteger:processParams.measureSystem];
@@ -335,6 +341,7 @@
335
341
  result[@"timeoutFromFirstDetect"] = processParams.timeoutFromFirstDetect;
336
342
  result[@"timeoutFromFirstDocType"] = processParams.timeoutFromFirstDocType;
337
343
  result[@"documentAreaMin"] = processParams.documentAreaMin;
344
+ result[@"timeoutLiveness"] = processParams.timeoutLiveness;
338
345
 
339
346
  // JSONArray
340
347
  result[@"documentIDList"] = processParams.documentIDList;
@@ -994,6 +1001,8 @@
994
1001
  result[@(RFIDProcessingScreenProgressBarBackground)] = [self colorWithInt:[input valueForKey:@"rfidProcessingScreenProgressBarBackground"]];
995
1002
  if([input valueForKey:@"rfidProcessingScreenResultLabelText"] != nil)
996
1003
  result[@(RFIDProcessingScreenResultLabelText)] = [self colorWithInt:[input valueForKey:@"rfidProcessingScreenResultLabelText"]];
1004
+ if([input valueForKey:@"rfidProcessingScreenLoadingBar"] != nil)
1005
+ result[@(RFIDProcessingScreenLoadingBar)] = [self colorWithInt:[input valueForKey:@"rfidProcessingScreenLoadingBar"]];
997
1006
  }
998
1007
 
999
1008
  +(NSDictionary*)getColors:(NSDictionary*)input {
@@ -1005,6 +1014,7 @@
1005
1014
  @"rfidProcessingScreenProgressBar": [self intWithColor:input[@(RFIDProcessingScreenProgressBar)]],
1006
1015
  @"rfidProcessingScreenProgressBarBackground": [self intWithColor:input[@(RFIDProcessingScreenProgressBarBackground)]],
1007
1016
  @"rfidProcessingScreenResultLabelText": [self intWithColor:input[@(RFIDProcessingScreenResultLabelText)]],
1017
+ @"rfidProcessingScreenLoadingBar": [self intWithColor:input[@(RFIDProcessingScreenLoadingBar)]],
1008
1018
  };
1009
1019
  }
1010
1020
 
@@ -2494,7 +2494,7 @@ const eCheckDiagnose = {
2494
2494
  ICAO_IDB_SIGNATURE_MUST_BE_PRESENT: 246,
2495
2495
  ICAO_IDB_SIGNATURE_MUST_NOT_BE_PRESENT: 247,
2496
2496
  ICAO_IDB_CERTIFICATE_MUST_NOT_BE_PRESENT: 248,
2497
- LAST_DIAGNOSE_VALUE: 250,
2497
+ INCORRECT_OBJECT_COLOR: 250,
2498
2498
  }
2499
2499
 
2500
2500
  const RFIDDelegate = {
@@ -3957,6 +3957,14 @@ const eVisualFieldType = {
3957
3957
  FT_DATE_OF_RETIREMENT: 681,
3958
3958
  FT_DOCUMENT_STATUS: 682,
3959
3959
  FT_SIGNATURE: 683,
3960
+ FT_UNIQUE_CERTIFICATE_IDENTIFIER: 684,
3961
+ FT_EMAIL: 685,
3962
+ FT_DATE_OF_SPECIMEN_COLLECTION: 686,
3963
+ FT_TYPE_OF_TESTING: 687,
3964
+ FT_RESULT_OF_TESTING: 688,
3965
+ FT_METHOD_OF_TESTING: 689,
3966
+ FT_DIGITAL_TRAVEL_AUTHORIZATION_NUMBER: 690,
3967
+ FT_DATE_OF_FIRST_POSITIVE_TEST_RESULT: 691,
3960
3968
  }
3961
3969
 
3962
3970
  const DocReaderOrientation = {