@regulaforensics/cordova-plugin-document-reader-api 9.2.385-beta → 9.2.387-rc

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.2.385-beta",
17
- "@regulaforensics/cordova-plugin-document-reader-core-fullauthrfid": "9.2.1813-rc",
16
+ "@regulaforensics/cordova-plugin-document-reader-api": "9.2.387-rc",
17
+ "@regulaforensics/cordova-plugin-document-reader-core-fullauthrfid": "9.2.1830-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.2.385-beta",
3
+ "version": "9.2.387-rc",
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.2.385-beta" xmlns="http://apache.org/cordova/ns/plugins/1.0">
2
+ <plugin id="@regulaforensics/cordova-plugin-document-reader-api" version="9.2.387-rc" 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="DocumentReaderBeta" spec="9.2.5881" />
32
+ <pod name="DocumentReaderStage" spec="9.2.5883" />
33
33
  </pods>
34
34
  </podspec>
35
35
  </platform>
@@ -18,7 +18,6 @@ import com.regula.documentreader.api.params.ImageQA
18
18
  import com.regula.documentreader.api.params.LivenessParams
19
19
  import com.regula.documentreader.api.params.ParamsCustomization
20
20
  import com.regula.documentreader.api.params.ProcessParam
21
- import com.regula.documentreader.api.params.Bsi
22
21
  import com.regula.documentreader.api.params.RfidScenario
23
22
  import com.regula.documentreader.api.params.rfid.dg.DTCDataGroup
24
23
  import com.regula.documentreader.api.params.rfid.dg.DataGroups
@@ -148,11 +147,7 @@ fun setProcessParams(processParams: ProcessParam, opts: JSONObject) = opts.forEa
148
147
  "strictSecurityChecks" -> processParams.strictSecurityChecks = v as Boolean
149
148
  "returnTransliteratedFields" -> processParams.returnTransliteratedFields = v as Boolean
150
149
  "checkCaptureProcessIntegrity" -> processParams.checkCaptureProcessIntegrity = v as Boolean
151
- "bsiTr03135" -> {
152
- val temp = Bsi()
153
- temp.generateResult = (v as JSONObject).getBooleanOrNull("generateResult")
154
- processParams.bsiTr03135 = temp
155
- }
150
+ "bsiTr03135Results" -> processParams.bsiTr03135Results = v as Boolean
156
151
  "measureSystem" -> processParams.measureSystem = v.toInt()
157
152
  "barcodeParserType" -> processParams.barcodeParserType = v.toInt()
158
153
  "perspectiveAngle" -> processParams.perspectiveAngle = v.toInt()
@@ -242,9 +237,7 @@ fun getProcessParams(processParams: ProcessParam) = mapOf(
242
237
  "strictSecurityChecks" to processParams.strictSecurityChecks,
243
238
  "returnTransliteratedFields" to processParams.returnTransliteratedFields,
244
239
  "checkCaptureProcessIntegrity" to processParams.checkCaptureProcessIntegrity,
245
- "bsiTr03135" to mapOf(
246
- "generateResult" to processParams.bsiTr03135?.generateResult
247
- ).toJson(),
240
+ "bsiTr03135Results" to processParams.bsiTr03135Results,
248
241
  "measureSystem" to processParams.measureSystem,
249
242
  "barcodeParserType" to processParams.barcodeParserType,
250
243
  "perspectiveAngle" to processParams.perspectiveAngle,
@@ -1,12 +1,12 @@
1
1
  repositories {
2
2
  maven {
3
- url "https://maven.regulaforensics.com/RegulaDocumentReader/Beta"
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.2.12373'){
9
+ implementation ('com.regula.documentreader:api:9.2.12375'){
10
10
  transitive = true
11
11
  }
12
12
  }
@@ -194,10 +194,7 @@
194
194
  if (options[@"strictSecurityChecks"]) processParams.strictSecurityChecks = options[@"strictSecurityChecks"];
195
195
  if (options[@"returnTransliteratedFields"]) processParams.returnTransliteratedFields = options[@"returnTransliteratedFields"];
196
196
  if (options[@"checkCaptureProcessIntegrity"]) processParams.checkCaptureProcessIntegrity = options[@"checkCaptureProcessIntegrity"];
197
- if (options[@"bsiTr03135"]) {
198
- processParams.bsiTr03135 = [RGLBsi new];
199
- processParams.bsiTr03135.generateResult = options[@"bsiTr03135"][@"generateResult"];
200
- }
197
+ if (options[@"bsiTr03135Results"]) processParams.bsiTr03135Results = options[@"bsiTr03135Results"];
201
198
 
202
199
  // Int
203
200
  if([options valueForKey:@"measureSystem"] != nil)
@@ -329,9 +326,7 @@
329
326
  result[@"strictSecurityChecks"] = processParams.strictSecurityChecks;
330
327
  result[@"returnTransliteratedFields"] = processParams.returnTransliteratedFields;
331
328
  result[@"checkCaptureProcessIntegrity"] = processParams.checkCaptureProcessIntegrity;
332
- if(processParams.bsiTr03135) result[@"bsiTr03135"] = @{
333
- @"generateResult": processParams.bsiTr03135.generateResult,
334
- };
329
+ result[@"bsiTr03135Results"] = processParams.bsiTr03135Results;
335
330
 
336
331
  // Int
337
332
  result[@"measureSystem"] = [NSNumber numberWithInteger:processParams.measureSystem];
@@ -1463,7 +1463,7 @@ class ProcessParams {
1463
1463
  result.strictSecurityChecks = jsonObject["strictSecurityChecks"]
1464
1464
  result.returnTransliteratedFields = jsonObject["returnTransliteratedFields"]
1465
1465
  result.checkCaptureProcessIntegrity = jsonObject["checkCaptureProcessIntegrity"]
1466
- result.bsiTr03135 = Bsi.fromJson(jsonObject["bsiTr03135"])
1466
+ result.bsiTr03135Results = jsonObject["bsiTr03135Results"]
1467
1467
  result.barcodeParserType = jsonObject["barcodeParserType"]
1468
1468
  result.perspectiveAngle = jsonObject["perspectiveAngle"]
1469
1469
  result.minDPI = jsonObject["minDPI"]
@@ -1548,17 +1548,6 @@ class Font {
1548
1548
  }
1549
1549
  }
1550
1550
 
1551
- class Bsi {
1552
- static fromJson(jsonObject) {
1553
- if (jsonObject == null) return null
1554
- const result = new Bsi()
1555
-
1556
- result.generateResult = jsonObject["generateResult"]
1557
-
1558
- return result
1559
- }
1560
- }
1561
-
1562
1551
  class CustomizationColors {
1563
1552
  static fromJson(jsonObject) {
1564
1553
  if (jsonObject == null) return null
@@ -4828,7 +4817,6 @@ DocumentReaderPlugin.LivenessParams = LivenessParams
4828
4817
  DocumentReaderPlugin.AuthenticityParams = AuthenticityParams
4829
4818
  DocumentReaderPlugin.ProcessParams = ProcessParams
4830
4819
  DocumentReaderPlugin.Font = Font
4831
- DocumentReaderPlugin.Bsi = Bsi
4832
4820
  DocumentReaderPlugin.CustomizationColors = CustomizationColors
4833
4821
  DocumentReaderPlugin.CustomizationFonts = CustomizationFonts
4834
4822
  DocumentReaderPlugin.CustomizationImages = CustomizationImages