@regulaforensics/document-reader 9.5.777-rc → 9.5.779-nightly

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.
@@ -5,7 +5,7 @@ source = File.join(__dir__, 'ios')
5
5
 
6
6
  Pod::Spec.new do |s|
7
7
  s.name = 'RNDocumentReader'
8
- s.version = '9.5.777-rc'
8
+ s.version = '9.5.779-nightly'
9
9
  s.summary = package['description']
10
10
  s.license = package['license']
11
11
 
@@ -16,6 +16,6 @@ Pod::Spec.new do |s|
16
16
  s.ios.deployment_target = '13.0'
17
17
  s.source_files = 'ios/**/*.{h,m}'
18
18
  s.exclude_files = [ 'ios/CVDDocumentReader.h', 'ios/CVDDocumentReader.m' ]
19
- s.dependency 'DocumentReaderStage', '9.5.6348'
19
+ s.dependency 'DocumentReaderNightly', '9.5.6353'
20
20
  s.dependency 'React'
21
21
  end
@@ -20,7 +20,7 @@ android {
20
20
  rootProject.allprojects {
21
21
  repositories {
22
22
  maven {
23
- url "https://maven.regulaforensics.com/RegulaDocumentReader/Stage"
23
+ url "https://maven.regulaforensics.com/RegulaDocumentReader/Nightly"
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.4.12852'){
32
+ implementation('com.regula.documentreader:api:9.5.12855'){
33
33
  transitive = true
34
34
  }
35
35
  }
@@ -1,12 +1,12 @@
1
1
  repositories {
2
2
  maven {
3
- url "https://maven.regulaforensics.com/RegulaDocumentReader/Stage"
3
+ url "https://maven.regulaforensics.com/RegulaDocumentReader/Nightly"
4
4
  }
5
5
  }
6
6
 
7
7
  dependencies {
8
8
  //noinspection GradleDependency
9
- implementation('com.regula.documentreader:api:9.4.12852'){
9
+ implementation('com.regula.documentreader:api:9.5.12855'){
10
10
  transitive = true
11
11
  }
12
12
  }
@@ -51,6 +51,7 @@ fun setFunctionality(config: Functionality, input: JSONObject) = input.forEach {
51
51
  "manualMultipageMode" -> editor.setManualMultipageMode(v as Boolean)
52
52
  "torchTurnedOn" -> editor.setTorchTurnedOn(v as Boolean)
53
53
  "preventScreenRecording" -> editor.setPreventScreenRecording(v as Boolean)
54
+ "hideStatusBar" -> editor.setHideStatusBar(v as Boolean)
54
55
  "showCaptureButtonDelayFromDetect" -> editor.setShowCaptureButtonDelayFromDetect(v.toLong())
55
56
  "showCaptureButtonDelayFromStart" -> editor.setShowCaptureButtonDelayFromStart(v.toLong())
56
57
  "orientation" -> editor.setOrientation(v.toInt())
@@ -88,6 +89,7 @@ fun getFunctionality(input: Functionality) = mapOf(
88
89
  "manualMultipageMode" to input.isManualMultipageMode,
89
90
  "torchTurnedOn" to input.isTorchTurnedOn,
90
91
  "preventScreenRecording" to input.doPreventScreenRecording(),
92
+ "hideStatusBar" to input.doHideStatusBar(),
91
93
  "showCaptureButtonDelayFromDetect" to input.showCaptureButtonDelayFromDetect,
92
94
  "showCaptureButtonDelayFromStart" to input.showCaptureButtonDelayFromStart,
93
95
  "orientation" to input.orientation,
@@ -129,7 +131,6 @@ fun setProcessParams(processParams: ProcessParam, opts: JSONObject) = opts.forEa
129
131
  "updateOCRValidityByGlare" -> processParams.updateOCRValidityByGlare = v as Boolean
130
132
  "noGraphics" -> processParams.noGraphics = v as Boolean
131
133
  "multiDocOnImage" -> processParams.multiDocOnImage = v as Boolean
132
- "forceReadMrzBeforeLocate" -> processParams.forceReadMrzBeforeLocate = v as Boolean
133
134
  "parseBarcodes" -> processParams.parseBarcodes = v as Boolean
134
135
  "shouldReturnPackageForReprocess" -> processParams.shouldReturnPackageForReprocess = v as Boolean
135
136
  "disablePerforationOCR" -> processParams.disablePerforationOCR = v as Boolean
@@ -153,6 +154,7 @@ fun setProcessParams(processParams: ProcessParam, opts: JSONObject) = opts.forEa
153
154
  "strictExpiryDate" -> processParams.strictExpiryDate = v as Boolean
154
155
  "debugSaveBinarySession" -> processParams.debugSaveBinarySession = v as Boolean
155
156
  "checkVDS" -> processParams.checkVDS = v as Boolean
157
+ "strictAgeCheck" -> processParams.strictAgeCheck = v as Boolean
156
158
  "measureSystem" -> processParams.measureSystem = v.toInt()
157
159
  "barcodeParserType" -> processParams.barcodeParserType = v.toInt()
158
160
  "perspectiveAngle" -> processParams.perspectiveAngle = v.toInt()
@@ -222,7 +224,6 @@ fun getProcessParams(processParams: ProcessParam) = mapOf(
222
224
  "updateOCRValidityByGlare" to processParams.updateOCRValidityByGlare,
223
225
  "noGraphics" to processParams.noGraphics,
224
226
  "multiDocOnImage" to processParams.multiDocOnImage,
225
- "forceReadMrzBeforeLocate" to processParams.forceReadMrzBeforeLocate,
226
227
  "parseBarcodes" to processParams.parseBarcodes,
227
228
  "shouldReturnPackageForReprocess" to processParams.shouldReturnPackageForReprocess,
228
229
  "disablePerforationOCR" to processParams.disablePerforationOCR,
@@ -246,6 +247,7 @@ fun getProcessParams(processParams: ProcessParam) = mapOf(
246
247
  "strictExpiryDate" to processParams.strictExpiryDate,
247
248
  "debugSaveBinarySession" to processParams.debugSaveBinarySession,
248
249
  "checkVDS" to processParams.checkVDS,
250
+ "strictAgeCheck" to processParams.strictAgeCheck,
249
251
  "measureSystem" to processParams.measureSystem,
250
252
  "barcodeParserType" to processParams.barcodeParserType,
251
253
  "perspectiveAngle" to processParams.perspectiveAngle,
@@ -753,6 +755,7 @@ fun setLivenessParams(input: LivenessParams, opts: JSONObject) = opts.forEach {
753
755
  "checkBlackAndWhiteCopy" -> input.checkBlackAndWhiteCopy = v as Boolean
754
756
  "checkDynaprint" -> input.checkDynaprint = v as Boolean
755
757
  "checkGeometry" -> input.checkGeometry = v as Boolean
758
+ "checkBarcodeBackground" -> input.checkBarcodeBackground = v as Boolean
756
759
  }
757
760
  }
758
761
 
@@ -765,6 +768,7 @@ fun getLivenessParams(input: LivenessParams?) = input?.let {
765
768
  "checkBlackAndWhiteCopy" to input.checkBlackAndWhiteCopy,
766
769
  "checkDynaprint" to input.checkDynaprint,
767
770
  "checkGeometry" to input.checkGeometry,
771
+ "checkBarcodeBackground" to input.checkBarcodeBackground,
768
772
  ).toJson()
769
773
  }
770
774
 
@@ -273,6 +273,12 @@ fun recognizeConfigFromJSON(input: JSONObject) = input.let {
273
273
  for (i in images.indices) images[i] = base64Images.getString(i).toBitmap()
274
274
  builder.setBitmaps(images)
275
275
  }
276
+ if (it.has("dataList")) {
277
+ val array = it.getJSONArray("dataList")
278
+ val dataList = mutableListOf<ByteArray>()
279
+ for (i in 0..< array.length()) dataList.add(array.getString(i).toByteArray()!!)
280
+ builder.setData(dataList)
281
+ }
276
282
  if (it.has("imageInputData")) {
277
283
  val base64InputData = it.getJSONArray("imageInputData")
278
284
  val inputData = arrayOfNulls<ImageInputData>(base64InputData.length())
@@ -291,14 +297,8 @@ fun generateRecognizeConfig(input: RecognizeConfig?) = input?.let {
291
297
  "livePortrait" to it.livePortrait.toBase64(),
292
298
  "extPortrait" to it.extPortrait.toBase64(),
293
299
  "image" to it.bitmap.toBase64(),
294
- "data" to it.data.toBase64(),
295
- "images" to
296
- if (it.bitmaps == null) null
297
- else {
298
- val array = JSONArray()
299
- for (bitmap in it.bitmaps!!) array.put(bitmap.toBase64())
300
- array
301
- },
300
+ "images" to it.bitmaps?.map { bp -> bp.toBase64() }?.toJson(),
301
+ "dataList" to it.data?.map { bp -> bp.toBase64() }?.toJson(),
302
302
  "imageInputData" to it.imageInputData.toJson(::generateImageInputData)
303
303
  ).toJson()
304
304
  }
@@ -6,7 +6,7 @@
6
6
  "android": "scripts/android.sh"
7
7
  },
8
8
  "dependencies": {
9
- "@regulaforensics/document-reader": "9.5.777-rc",
9
+ "@regulaforensics/document-reader": "9.5.779-nightly",
10
10
  "@regulaforensics/document-reader-core-fullauthrfid": "9.4.2038",
11
11
  "@regulaforensics/document-reader-btdevice": "9.4.46",
12
12
  "@awesome-cordova-plugins/file": "^8.1.0",
@@ -3770,24 +3770,6 @@
3770
3770
  "node": ">=10.13.0"
3771
3771
  }
3772
3772
  },
3773
- "node_modules/@ionic/cordova-builders/node_modules/@angular/common": {
3774
- "version": "20.3.19",
3775
- "resolved": "https://registry.npmjs.org/@angular/common/-/common-20.3.19.tgz",
3776
- "integrity": "sha512-hcB1eUEN8LGcKGc4DlRJ+abS6AYfbEHDZKg8LnXNugkbwI6Ebyh2AUYTDhzZL2S4aH+C8biHKgSYHFCqieCRhA==",
3777
- "license": "MIT",
3778
- "optional": true,
3779
- "peer": true,
3780
- "dependencies": {
3781
- "tslib": "^2.3.0"
3782
- },
3783
- "engines": {
3784
- "node": "^20.19.0 || ^22.12.0 || >=24.0.0"
3785
- },
3786
- "peerDependencies": {
3787
- "@angular/core": "20.3.19",
3788
- "rxjs": "^6.5.3 || ^7.4.0"
3789
- }
3790
- },
3791
3773
  "node_modules/@ionic/cordova-builders/node_modules/@angular/compiler-cli": {
3792
3774
  "version": "20.3.19",
3793
3775
  "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-20.3.19.tgz",
@@ -3821,57 +3803,6 @@
3821
3803
  }
3822
3804
  }
3823
3805
  },
3824
- "node_modules/@ionic/cordova-builders/node_modules/@angular/core": {
3825
- "version": "20.3.19",
3826
- "resolved": "https://registry.npmjs.org/@angular/core/-/core-20.3.19.tgz",
3827
- "integrity": "sha512-SYnwW+q51bQoPtGFoGovm1P5GK9fMEXsG0lGaEAUapjskblAYyX7hLlM/jgueSojv2SjhqNF8aXR+gjHLhZVNA==",
3828
- "license": "MIT",
3829
- "optional": true,
3830
- "peer": true,
3831
- "dependencies": {
3832
- "tslib": "^2.3.0"
3833
- },
3834
- "engines": {
3835
- "node": "^20.19.0 || ^22.12.0 || >=24.0.0"
3836
- },
3837
- "peerDependencies": {
3838
- "@angular/compiler": "20.3.19",
3839
- "rxjs": "^6.5.3 || ^7.4.0",
3840
- "zone.js": "~0.15.0"
3841
- },
3842
- "peerDependenciesMeta": {
3843
- "@angular/compiler": {
3844
- "optional": true
3845
- },
3846
- "zone.js": {
3847
- "optional": true
3848
- }
3849
- }
3850
- },
3851
- "node_modules/@ionic/cordova-builders/node_modules/@angular/platform-browser": {
3852
- "version": "20.3.19",
3853
- "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-20.3.19.tgz",
3854
- "integrity": "sha512-TRZfatH1B/kreDwFRwtpLEurJQ6044qh6DWpvxzTbugaG5otLQJKTk+1z81/KsJwQqc1+24v+yuywc1LM7aq7w==",
3855
- "license": "MIT",
3856
- "optional": true,
3857
- "peer": true,
3858
- "dependencies": {
3859
- "tslib": "^2.3.0"
3860
- },
3861
- "engines": {
3862
- "node": "^20.19.0 || ^22.12.0 || >=24.0.0"
3863
- },
3864
- "peerDependencies": {
3865
- "@angular/animations": "20.3.19",
3866
- "@angular/common": "20.3.19",
3867
- "@angular/core": "20.3.19"
3868
- },
3869
- "peerDependenciesMeta": {
3870
- "@angular/animations": {
3871
- "optional": true
3872
- }
3873
- }
3874
- },
3875
3806
  "node_modules/@ionic/cordova-builders/node_modules/@babel/core": {
3876
3807
  "version": "7.28.3",
3877
3808
  "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.28.3.tgz",
@@ -10975,12 +10906,12 @@
10975
10906
  }
10976
10907
  },
10977
10908
  "node_modules/express-rate-limit": {
10978
- "version": "8.3.1",
10979
- "resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-8.3.1.tgz",
10980
- "integrity": "sha512-D1dKN+cmyPWuvB+G2SREQDzPY1agpBIcTa9sJxOPMCNeH3gwzhqJRDWCXW3gg0y//+LQ/8j52JbMROWyrKdMdw==",
10909
+ "version": "8.5.1",
10910
+ "resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-8.5.1.tgz",
10911
+ "integrity": "sha512-5O6KYmyJEpuPJV5hNTXKbAHWRqrzyu+OI3vUnSd2kXFubIVpG7ezpgxQy76Zo5GQZtrQBg86hF+CM/NX+cioiQ==",
10981
10912
  "license": "MIT",
10982
10913
  "dependencies": {
10983
- "ip-address": "10.1.0"
10914
+ "ip-address": "^10.2.0"
10984
10915
  },
10985
10916
  "engines": {
10986
10917
  "node": ">= 16"
@@ -11453,9 +11384,9 @@
11453
11384
  }
11454
11385
  },
11455
11386
  "node_modules/hono": {
11456
- "version": "4.12.15",
11457
- "resolved": "https://registry.npmjs.org/hono/-/hono-4.12.15.tgz",
11458
- "integrity": "sha512-qM0jDhFEaCBb4TxoW7f53Qrpv9RBiayUHo0S52JudprkhvpjIrGoU1mnnr29Fvd1U335ZFPZQY1wlkqgfGXyLg==",
11387
+ "version": "4.12.18",
11388
+ "resolved": "https://registry.npmjs.org/hono/-/hono-4.12.18.tgz",
11389
+ "integrity": "sha512-RWzP96k/yv0PQfyXnWjs6zot20TqfpfsNXhOnev8d1InAxubW93L11/oNUc3tQqn2G0bSdAOBpX+2uDFHV7kdQ==",
11459
11390
  "license": "MIT",
11460
11391
  "engines": {
11461
11392
  "node": ">=16.9.0"
@@ -11842,9 +11773,9 @@
11842
11773
  }
11843
11774
  },
11844
11775
  "node_modules/ip-address": {
11845
- "version": "10.1.0",
11846
- "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.1.0.tgz",
11847
- "integrity": "sha512-XXADHxXmvT9+CRxhXg56LJovE+bmWnEWB78LB83VZTprKTmaC5QfruXocxzTZ2Kl0DNwKuBdlIhjL8LeY8Sf8Q==",
11776
+ "version": "10.2.0",
11777
+ "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.2.0.tgz",
11778
+ "integrity": "sha512-/+S6j4E9AHvW9SWMSEY9Xfy66O5PWvVEJ08O0y5JGyEKQpojb0K0GKpz/v5HJ/G0vi3D2sjGK78119oXZeE0qA==",
11848
11779
  "license": "MIT",
11849
11780
  "engines": {
11850
11781
  "node": ">= 12"
@@ -18,7 +18,7 @@
18
18
  "@ionic/cordova-builders": "^12.3.0",
19
19
  "@awesome-cordova-plugins/camera": "^8.1.0",
20
20
  "@awesome-cordova-plugins/file": "^8.1.0",
21
- "@regulaforensics/document-reader": "9.5.777-rc",
21
+ "@regulaforensics/document-reader": "9.5.779-nightly",
22
22
  "@regulaforensics/document-reader-core-fullauthrfid": "9.4.2038",
23
23
  "@regulaforensics/document-reader-btdevice": "9.4.46",
24
24
  "cordova-android": "^14.0.1",
@@ -8,7 +8,7 @@
8
8
  "start": "expo start"
9
9
  },
10
10
  "dependencies": {
11
- "@regulaforensics/document-reader": "9.5.777-rc",
11
+ "@regulaforensics/document-reader": "9.5.779-nightly",
12
12
  "@regulaforensics/document-reader-core-fullauthrfid": "9.4.2038",
13
13
  "@regulaforensics/document-reader-btdevice": "9.4.46",
14
14
  "react-native": "^0.81.4",
package/ios/RGLWConfig.m CHANGED
@@ -163,8 +163,6 @@
163
163
  processParams.noGraphics = [options valueForKey:@"noGraphics"];
164
164
  if([options valueForKey:@"multiDocOnImage"] != nil)
165
165
  processParams.multiDocOnImage = [options valueForKey:@"multiDocOnImage"];
166
- if([options valueForKey:@"forceReadMrzBeforeLocate"] != nil)
167
- processParams.forceReadMrzBeforeLocate = [options valueForKey:@"forceReadMrzBeforeLocate"];
168
166
  if([options valueForKey:@"parseBarcodes"] != nil)
169
167
  processParams.parseBarcodes = [options valueForKey:@"parseBarcodes"];
170
168
  if([options valueForKey:@"shouldReturnPackageForReprocess"] != nil)
@@ -197,6 +195,7 @@
197
195
  if (options[@"strictExpiryDate"]) processParams.strictExpiryDate = options[@"strictExpiryDate"];
198
196
  if (options[@"debugSaveBinarySession"]) processParams.debugSaveBinarySession = options[@"debugSaveBinarySession"];
199
197
  if (options[@"checkVDS"]) processParams.checkVDS = options[@"checkVDS"];
198
+ if (options[@"strictAgeCheck"]) processParams.strictAgeCheck = options[@"strictAgeCheck"];
200
199
 
201
200
  // Int
202
201
  if([options valueForKey:@"measureSystem"] != nil)
@@ -308,7 +307,6 @@
308
307
  result[@"updateOCRValidityByGlare"] = processParams.updateOCRValidityByGlare;
309
308
  result[@"noGraphics"] = processParams.noGraphics;
310
309
  result[@"multiDocOnImage"] = processParams.multiDocOnImage;
311
- result[@"forceReadMrzBeforeLocate"] = processParams.forceReadMrzBeforeLocate;
312
310
  result[@"parseBarcodes"] = processParams.parseBarcodes;
313
311
  result[@"shouldReturnPackageForReprocess"] = processParams.shouldReturnPackageForReprocess;
314
312
  result[@"disablePerforationOCR"] = processParams.disablePerforationOCR;
@@ -332,6 +330,7 @@
332
330
  result[@"strictExpiryDate"] = processParams.strictExpiryDate;
333
331
  result[@"debugSaveBinarySession"] = processParams.debugSaveBinarySession;
334
332
  result[@"checkVDS"] = processParams.checkVDS;
333
+ result[@"strictAgeCheck"] = processParams.strictAgeCheck;
335
334
 
336
335
  // Int
337
336
  result[@"measureSystem"] = [NSNumber numberWithInteger:processParams.measureSystem];
@@ -1065,6 +1064,7 @@
1065
1064
  if(input[@"checkBlackAndWhiteCopy"]) result.checkBlackAndWhiteCopy = input[@"checkBlackAndWhiteCopy"];
1066
1065
  if(input[@"checkDynaprint"]) result.checkDynaprint = input[@"checkDynaprint"];
1067
1066
  if(input[@"checkGeometry"]) result.checkGeometry = input[@"checkGeometry"];
1067
+ if(input[@"checkBarcodeBackground"]) result.checkBarcodeBackground = input[@"checkBarcodeBackground"];
1068
1068
  }
1069
1069
 
1070
1070
  +(NSDictionary*)getLivenessParams:(RGLLivenessParams*)input {
@@ -1078,6 +1078,7 @@
1078
1078
  result[@"checkBlackAndWhiteCopy"] = input.checkBlackAndWhiteCopy;
1079
1079
  result[@"checkDynaprint"] = input.checkDynaprint;
1080
1080
  result[@"checkGeometry"] = input.checkGeometry;
1081
+ result[@"checkBarcodeBackground"] = input.checkBarcodeBackground;
1081
1082
 
1082
1083
  return result;
1083
1084
  }
@@ -227,10 +227,16 @@ static NSMutableArray* weakReferencesHolder;
227
227
  if (input[@"image"]) config.image = [RGLWJSONConstructor imageWithBase64:input[@"image"]];
228
228
  if (input[@"data"]) config.imageData = [RGLWJSONConstructor base64Decode:input[@"data"]];
229
229
  if (input[@"images"]) {
230
- NSMutableArray<UIImage*>* images = [NSMutableArray new];
231
- for(NSString* base64 in input[@"images"])
232
- [images addObject:[RGLWJSONConstructor imageWithBase64:base64]];
233
- config.images = images;
230
+ NSMutableArray<UIImage*>* list = [NSMutableArray new];
231
+ for(NSString* item in input[@"images"])
232
+ [list addObject:[RGLWJSONConstructor imageWithBase64:item]];
233
+ config.images = list;
234
+ }
235
+ if (input[@"dataList"]) {
236
+ NSMutableArray<NSData*>* list = [NSMutableArray new];
237
+ for(NSString* item in input[@"dataList"])
238
+ [list addObject:[RGLWJSONConstructor base64Decode:item]];
239
+ config.imageDataArray = list;
234
240
  }
235
241
  if(input[@"imageInputData"]) {
236
242
  NSMutableArray<RGLImageInput*>* imageInputs = [NSMutableArray new];
@@ -261,10 +267,16 @@ static NSMutableArray* weakReferencesHolder;
261
267
  result[@"image"] = [self base64WithImage: input.image];
262
268
  result[@"data"] = [self base64Encode: input.imageData];
263
269
  if(input.images != nil) {
264
- NSMutableArray *array = [NSMutableArray new];
270
+ NSMutableArray *list = [NSMutableArray new];
265
271
  for(UIImage* item in input.images)
266
- [array addObject:[self base64WithImage:item]];
267
- result[@"images"] = array;
272
+ [list addObject:[self base64WithImage:item]];
273
+ result[@"images"] = list;
274
+ }
275
+ if(input.imageDataArray != nil) {
276
+ NSMutableArray *list = [NSMutableArray new];
277
+ for(NSData* item in input.imageDataArray)
278
+ [list addObject:[self base64Encode:item]];
279
+ result[@"dataList"] = list;
268
280
  }
269
281
  if(input.imageInputs != nil) {
270
282
  NSMutableArray *array = [NSMutableArray new];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regulaforensics/document-reader",
3
- "version": "9.5.777-rc",
3
+ "version": "9.5.779-nightly",
4
4
  "description": "This is an npm module for Regula Document Reader SDK. It allows you to read various kinds of identification documents using your phone's camera.",
5
5
  "main": "www/react-native/index.js",
6
6
  "module": "www/capacitor/index.js",
package/plugin.xml CHANGED
@@ -1,5 +1,5 @@
1
1
  <?xml version='1.0' encoding='utf-8'?>
2
- <plugin id="@regulaforensics/document-reader" version="9.5.777-rc" xmlns="http://apache.org/cordova/ns/plugins/1.0">
2
+ <plugin id="@regulaforensics/document-reader" version="9.5.779-nightly" xmlns="http://apache.org/cordova/ns/plugins/1.0">
3
3
  <name>DocumentReader</name>
4
4
  <description>Cordova plugin for Regula Document Reader SDK</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="DocumentReaderStage" spec="9.5.6348" />
32
+ <pod name="DocumentReaderNightly" spec="9.5.6353" />
33
33
  </pods>
34
34
  </podspec>
35
35
  </platform>
package/test/json.tsx CHANGED
@@ -25,6 +25,7 @@ export var livenessParams = {
25
25
  "checkBlackAndWhiteCopy": true,
26
26
  "checkDynaprint": false,
27
27
  "checkGeometry": true,
28
+ "checkBarcodeBackground": false,
28
29
  };
29
30
  export var authenticityParams = {
30
31
  "useLivenessCheck": true,
@@ -92,7 +93,6 @@ export var processParams = {
92
93
  "updateOCRValidityByGlare": false,
93
94
  "noGraphics": true,
94
95
  "multiDocOnImage": false,
95
- "forceReadMrzBeforeLocate": true,
96
96
  "parseBarcodes": false,
97
97
  "shouldReturnPackageForReprocess": true,
98
98
  "disablePerforationOCR": false,
@@ -115,6 +115,7 @@ export var processParams = {
115
115
  "strictExpiryDate": true,
116
116
  "debugSaveBinarySession": false,
117
117
  "checkVDS": true,
118
+ "strictAgeCheck": false,
118
119
  "bsiTr03135": bsi,
119
120
  "measureSystem": 1,
120
121
  "barcodeParserType": 3,
@@ -358,6 +359,7 @@ export var functionality = {
358
359
  "torchTurnedOn": false,
359
360
  "preventScreenRecording": true,
360
361
  "homeIndicatorAutoHide": false,
362
+ "hideStatusBar": true,
361
363
  "showCaptureButtonDelayFromDetect": 0,
362
364
  "showCaptureButtonDelayFromStart": 1,
363
365
  "rfidTimeout": 2,
@@ -533,6 +535,7 @@ export var recognizeConfig = {
533
535
  "image": img3,
534
536
  "data": img1,
535
537
  "images": [img1, img2, img3],
538
+ "dataList": [img3, img2, img1],
536
539
  "imageInputData": [imageInputData, imageInputData, imageInputData],
537
540
  };
538
541
  export var recognizeConfig2 = {
@@ -13,7 +13,7 @@
13
13
  },
14
14
  "..": {
15
15
  "name": "@regulaforensics/document-reader",
16
- "version": "9.5.777-rc",
16
+ "version": "1.0.0",
17
17
  "dev": true,
18
18
  "license": "commercial"
19
19
  },
@@ -8,6 +8,7 @@ export class RecognizeConfig {
8
8
  image
9
9
  images
10
10
  data
11
+ dataList
11
12
  imageInputData
12
13
  dtc
13
14
  livePortrait
@@ -24,6 +25,7 @@ export class RecognizeConfig {
24
25
  result.image = options?.image
25
26
  result.images = options?.images
26
27
  result.data = options?.data
28
+ result.dataList = options?.dataList
27
29
  result.imageInputData = options?.imageInputData
28
30
  result.dtc = options?.dtc
29
31
  result.livePortrait = options?.livePortrait
@@ -38,6 +40,7 @@ export class RecognizeConfig {
38
40
  result.image = options?.image
39
41
  result.images = options?.images
40
42
  result.data = options?.data
43
+ result.dataList = options?.dataList
41
44
  result.imageInputData = options?.imageInputData
42
45
  result.dtc = options?.dtc
43
46
  result.livePortrait = options?.livePortrait
@@ -62,6 +65,14 @@ export class RecognizeConfig {
62
65
  }
63
66
  }
64
67
  result.data = jsonObject["data"]
68
+ if (jsonObject["dataList"] != null) {
69
+ result.dataList = []
70
+ for (const item of jsonObject["dataList"]) {
71
+ if (item != null) {
72
+ result.dataList.push(item)
73
+ }
74
+ }
75
+ }
65
76
  if (jsonObject["imageInputData"] != null) {
66
77
  result.imageInputData = []
67
78
  for (const item of jsonObject["imageInputData"]) {
@@ -86,6 +97,7 @@ export class RecognizeConfig {
86
97
  "image": this.image,
87
98
  "images": this.images,
88
99
  "data": this.data,
100
+ "dataList": this.dataList,
89
101
  "imageInputData": this.imageInputData?.map(e => e.toJson()),
90
102
  "dtc": this.dtc,
91
103
  "livePortrait": this.livePortrait,
@@ -117,6 +117,12 @@ export class Functionality {
117
117
  this._set({ "homeIndicatorAutoHide": val });
118
118
  }
119
119
 
120
+ get hideStatusBar() { return this._hideStatusBar; }
121
+ set hideStatusBar(val) {
122
+ this._hideStatusBar = val;
123
+ this._set({ "hideStatusBar": val });
124
+ }
125
+
120
126
  get showCaptureButtonDelayFromDetect() { return this._showCaptureButtonDelayFromDetect; }
121
127
  set showCaptureButtonDelayFromDetect(val) {
122
128
  this._showCaptureButtonDelayFromDetect = val;
@@ -242,6 +248,7 @@ export class Functionality {
242
248
  result._torchTurnedOn = jsonObject["torchTurnedOn"];
243
249
  result._preventScreenRecording = jsonObject["preventScreenRecording"];
244
250
  result._homeIndicatorAutoHide = jsonObject["homeIndicatorAutoHide"];
251
+ result._hideStatusBar = jsonObject["hideStatusBar"];
245
252
  result._showCaptureButtonDelayFromDetect = jsonObject["showCaptureButtonDelayFromDetect"];
246
253
  result._showCaptureButtonDelayFromStart = jsonObject["showCaptureButtonDelayFromStart"];
247
254
  result._rfidTimeout = jsonObject["rfidTimeout"];
@@ -284,6 +291,7 @@ export class Functionality {
284
291
  "torchTurnedOn": this.torchTurnedOn,
285
292
  "preventScreenRecording": this.preventScreenRecording,
286
293
  "homeIndicatorAutoHide": this.homeIndicatorAutoHide,
294
+ "hideStatusBar": this.hideStatusBar,
287
295
  "showCaptureButtonDelayFromDetect": this.showCaptureButtonDelayFromDetect,
288
296
  "showCaptureButtonDelayFromStart": this.showCaptureButtonDelayFromStart,
289
297
  "rfidTimeout": this.rfidTimeout,
@@ -43,6 +43,12 @@ export class LivenessParams {
43
43
  this._set({ "checkGeometry": val });
44
44
  }
45
45
 
46
+ get checkBarcodeBackground() { return this._checkBarcodeBackground; }
47
+ set checkBarcodeBackground(val) {
48
+ this._checkBarcodeBackground = val;
49
+ this._set({ "checkBarcodeBackground": val });
50
+ }
51
+
46
52
  static fromJson(jsonObject) {
47
53
  if (jsonObject == null) return new LivenessParams();
48
54
 
@@ -54,6 +60,7 @@ export class LivenessParams {
54
60
  result._checkBlackAndWhiteCopy = jsonObject["checkBlackAndWhiteCopy"];
55
61
  result._checkDynaprint = jsonObject["checkDynaprint"];
56
62
  result._checkGeometry = jsonObject["checkGeometry"];
63
+ result._checkBarcodeBackground = jsonObject["checkBarcodeBackground"];
57
64
 
58
65
  return result;
59
66
  }
@@ -74,6 +81,7 @@ export class LivenessParams {
74
81
  "checkBlackAndWhiteCopy": this.checkBlackAndWhiteCopy,
75
82
  "checkDynaprint": this.checkDynaprint,
76
83
  "checkGeometry": this.checkGeometry,
84
+ "checkBarcodeBackground": this.checkBarcodeBackground,
77
85
  }
78
86
  }
79
87
  }
@@ -134,12 +134,6 @@ export class ProcessParams {
134
134
  this._set({ "multiDocOnImage": val });
135
135
  }
136
136
 
137
- get forceReadMrzBeforeLocate() { return this._forceReadMrzBeforeLocate; }
138
- set forceReadMrzBeforeLocate(val) {
139
- this._forceReadMrzBeforeLocate = val;
140
- this._set({ "forceReadMrzBeforeLocate": val });
141
- }
142
-
143
137
  get parseBarcodes() { return this._parseBarcodes; }
144
138
  set parseBarcodes(val) {
145
139
  this._parseBarcodes = val;
@@ -272,6 +266,12 @@ export class ProcessParams {
272
266
  this._set({ "checkVDS": val });
273
267
  }
274
268
 
269
+ get strictAgeCheck() { return this._strictAgeCheck; }
270
+ set strictAgeCheck(val) {
271
+ this._strictAgeCheck = val;
272
+ this._set({ "strictAgeCheck": val });
273
+ }
274
+
275
275
  get barcodeParserType() { return this._barcodeParserType; }
276
276
  set barcodeParserType(val) {
277
277
  this._barcodeParserType = val;
@@ -533,7 +533,6 @@ export class ProcessParams {
533
533
  result._updateOCRValidityByGlare = jsonObject["updateOCRValidityByGlare"];
534
534
  result._noGraphics = jsonObject["noGraphics"];
535
535
  result._multiDocOnImage = jsonObject["multiDocOnImage"];
536
- result._forceReadMrzBeforeLocate = jsonObject["forceReadMrzBeforeLocate"];
537
536
  result._parseBarcodes = jsonObject["parseBarcodes"];
538
537
  result._shouldReturnPackageForReprocess = jsonObject["shouldReturnPackageForReprocess"];
539
538
  result._disablePerforationOCR = jsonObject["disablePerforationOCR"];
@@ -556,6 +555,7 @@ export class ProcessParams {
556
555
  result._strictExpiryDate = jsonObject["strictExpiryDate"];
557
556
  result._debugSaveBinarySession = jsonObject["debugSaveBinarySession"];
558
557
  result._checkVDS = jsonObject["checkVDS"];
558
+ result._strictAgeCheck = jsonObject["strictAgeCheck"];
559
559
  result._barcodeParserType = jsonObject["barcodeParserType"];
560
560
  result._perspectiveAngle = jsonObject["perspectiveAngle"];
561
561
  result._minDPI = jsonObject["minDPI"];
@@ -622,7 +622,6 @@ export class ProcessParams {
622
622
  "updateOCRValidityByGlare": this.updateOCRValidityByGlare,
623
623
  "noGraphics": this.noGraphics,
624
624
  "multiDocOnImage": this.multiDocOnImage,
625
- "forceReadMrzBeforeLocate": this.forceReadMrzBeforeLocate,
626
625
  "parseBarcodes": this.parseBarcodes,
627
626
  "shouldReturnPackageForReprocess": this.shouldReturnPackageForReprocess,
628
627
  "disablePerforationOCR": this.disablePerforationOCR,
@@ -645,6 +644,7 @@ export class ProcessParams {
645
644
  "strictExpiryDate": this.strictExpiryDate,
646
645
  "debugSaveBinarySession": this.debugSaveBinarySession,
647
646
  "checkVDS": this.checkVDS,
647
+ "strictAgeCheck": this.strictAgeCheck,
648
648
  "measureSystem": this.measureSystem,
649
649
  "barcodeParserType": this.barcodeParserType,
650
650
  "perspectiveAngle": this.perspectiveAngle,
package/www/cordova.js CHANGED
@@ -282,6 +282,7 @@ class RecognizeConfig {
282
282
  image
283
283
  images
284
284
  data
285
+ dataList
285
286
  imageInputData
286
287
  dtc
287
288
  livePortrait
@@ -298,6 +299,7 @@ class RecognizeConfig {
298
299
  result.image = options?.image
299
300
  result.images = options?.images
300
301
  result.data = options?.data
302
+ result.dataList = options?.dataList
301
303
  result.imageInputData = options?.imageInputData
302
304
  result.dtc = options?.dtc
303
305
  result.livePortrait = options?.livePortrait
@@ -312,6 +314,7 @@ class RecognizeConfig {
312
314
  result.image = options?.image
313
315
  result.images = options?.images
314
316
  result.data = options?.data
317
+ result.dataList = options?.dataList
315
318
  result.imageInputData = options?.imageInputData
316
319
  result.dtc = options?.dtc
317
320
  result.livePortrait = options?.livePortrait
@@ -336,6 +339,14 @@ class RecognizeConfig {
336
339
  }
337
340
  }
338
341
  result.data = jsonObject["data"]
342
+ if (jsonObject["dataList"] != null) {
343
+ result.dataList = []
344
+ for (const item of jsonObject["dataList"]) {
345
+ if (item != null) {
346
+ result.dataList.push(item)
347
+ }
348
+ }
349
+ }
339
350
  if (jsonObject["imageInputData"] != null) {
340
351
  result.imageInputData = []
341
352
  for (const item of jsonObject["imageInputData"]) {
@@ -360,6 +371,7 @@ class RecognizeConfig {
360
371
  "image": this.image,
361
372
  "images": this.images,
362
373
  "data": this.data,
374
+ "dataList": this.dataList,
363
375
  "imageInputData": this.imageInputData?.map(e => e.toJson()),
364
376
  "dtc": this.dtc,
365
377
  "livePortrait": this.livePortrait,
@@ -2511,6 +2523,12 @@ class Functionality {
2511
2523
  this._set({ "homeIndicatorAutoHide": val });
2512
2524
  }
2513
2525
 
2526
+ get hideStatusBar() { return this._hideStatusBar; }
2527
+ set hideStatusBar(val) {
2528
+ this._hideStatusBar = val;
2529
+ this._set({ "hideStatusBar": val });
2530
+ }
2531
+
2514
2532
  get showCaptureButtonDelayFromDetect() { return this._showCaptureButtonDelayFromDetect; }
2515
2533
  set showCaptureButtonDelayFromDetect(val) {
2516
2534
  this._showCaptureButtonDelayFromDetect = val;
@@ -2636,6 +2654,7 @@ class Functionality {
2636
2654
  result._torchTurnedOn = jsonObject["torchTurnedOn"];
2637
2655
  result._preventScreenRecording = jsonObject["preventScreenRecording"];
2638
2656
  result._homeIndicatorAutoHide = jsonObject["homeIndicatorAutoHide"];
2657
+ result._hideStatusBar = jsonObject["hideStatusBar"];
2639
2658
  result._showCaptureButtonDelayFromDetect = jsonObject["showCaptureButtonDelayFromDetect"];
2640
2659
  result._showCaptureButtonDelayFromStart = jsonObject["showCaptureButtonDelayFromStart"];
2641
2660
  result._rfidTimeout = jsonObject["rfidTimeout"];
@@ -2678,6 +2697,7 @@ class Functionality {
2678
2697
  "torchTurnedOn": this.torchTurnedOn,
2679
2698
  "preventScreenRecording": this.preventScreenRecording,
2680
2699
  "homeIndicatorAutoHide": this.homeIndicatorAutoHide,
2700
+ "hideStatusBar": this.hideStatusBar,
2681
2701
  "showCaptureButtonDelayFromDetect": this.showCaptureButtonDelayFromDetect,
2682
2702
  "showCaptureButtonDelayFromStart": this.showCaptureButtonDelayFromStart,
2683
2703
  "rfidTimeout": this.rfidTimeout,
@@ -4885,6 +4905,12 @@ class LivenessParams {
4885
4905
  this._set({ "checkGeometry": val });
4886
4906
  }
4887
4907
 
4908
+ get checkBarcodeBackground() { return this._checkBarcodeBackground; }
4909
+ set checkBarcodeBackground(val) {
4910
+ this._checkBarcodeBackground = val;
4911
+ this._set({ "checkBarcodeBackground": val });
4912
+ }
4913
+
4888
4914
  static fromJson(jsonObject) {
4889
4915
  if (jsonObject == null) return new LivenessParams();
4890
4916
 
@@ -4896,6 +4922,7 @@ class LivenessParams {
4896
4922
  result._checkBlackAndWhiteCopy = jsonObject["checkBlackAndWhiteCopy"];
4897
4923
  result._checkDynaprint = jsonObject["checkDynaprint"];
4898
4924
  result._checkGeometry = jsonObject["checkGeometry"];
4925
+ result._checkBarcodeBackground = jsonObject["checkBarcodeBackground"];
4899
4926
 
4900
4927
  return result;
4901
4928
  }
@@ -4916,6 +4943,7 @@ class LivenessParams {
4916
4943
  "checkBlackAndWhiteCopy": this.checkBlackAndWhiteCopy,
4917
4944
  "checkDynaprint": this.checkDynaprint,
4918
4945
  "checkGeometry": this.checkGeometry,
4946
+ "checkBarcodeBackground": this.checkBarcodeBackground,
4919
4947
  }
4920
4948
  }
4921
4949
  }
@@ -5081,12 +5109,6 @@ class ProcessParams {
5081
5109
  this._set({ "multiDocOnImage": val });
5082
5110
  }
5083
5111
 
5084
- get forceReadMrzBeforeLocate() { return this._forceReadMrzBeforeLocate; }
5085
- set forceReadMrzBeforeLocate(val) {
5086
- this._forceReadMrzBeforeLocate = val;
5087
- this._set({ "forceReadMrzBeforeLocate": val });
5088
- }
5089
-
5090
5112
  get parseBarcodes() { return this._parseBarcodes; }
5091
5113
  set parseBarcodes(val) {
5092
5114
  this._parseBarcodes = val;
@@ -5219,6 +5241,12 @@ class ProcessParams {
5219
5241
  this._set({ "checkVDS": val });
5220
5242
  }
5221
5243
 
5244
+ get strictAgeCheck() { return this._strictAgeCheck; }
5245
+ set strictAgeCheck(val) {
5246
+ this._strictAgeCheck = val;
5247
+ this._set({ "strictAgeCheck": val });
5248
+ }
5249
+
5222
5250
  get barcodeParserType() { return this._barcodeParserType; }
5223
5251
  set barcodeParserType(val) {
5224
5252
  this._barcodeParserType = val;
@@ -5480,7 +5508,6 @@ class ProcessParams {
5480
5508
  result._updateOCRValidityByGlare = jsonObject["updateOCRValidityByGlare"];
5481
5509
  result._noGraphics = jsonObject["noGraphics"];
5482
5510
  result._multiDocOnImage = jsonObject["multiDocOnImage"];
5483
- result._forceReadMrzBeforeLocate = jsonObject["forceReadMrzBeforeLocate"];
5484
5511
  result._parseBarcodes = jsonObject["parseBarcodes"];
5485
5512
  result._shouldReturnPackageForReprocess = jsonObject["shouldReturnPackageForReprocess"];
5486
5513
  result._disablePerforationOCR = jsonObject["disablePerforationOCR"];
@@ -5503,6 +5530,7 @@ class ProcessParams {
5503
5530
  result._strictExpiryDate = jsonObject["strictExpiryDate"];
5504
5531
  result._debugSaveBinarySession = jsonObject["debugSaveBinarySession"];
5505
5532
  result._checkVDS = jsonObject["checkVDS"];
5533
+ result._strictAgeCheck = jsonObject["strictAgeCheck"];
5506
5534
  result._barcodeParserType = jsonObject["barcodeParserType"];
5507
5535
  result._perspectiveAngle = jsonObject["perspectiveAngle"];
5508
5536
  result._minDPI = jsonObject["minDPI"];
@@ -5569,7 +5597,6 @@ class ProcessParams {
5569
5597
  "updateOCRValidityByGlare": this.updateOCRValidityByGlare,
5570
5598
  "noGraphics": this.noGraphics,
5571
5599
  "multiDocOnImage": this.multiDocOnImage,
5572
- "forceReadMrzBeforeLocate": this.forceReadMrzBeforeLocate,
5573
5600
  "parseBarcodes": this.parseBarcodes,
5574
5601
  "shouldReturnPackageForReprocess": this.shouldReturnPackageForReprocess,
5575
5602
  "disablePerforationOCR": this.disablePerforationOCR,
@@ -5592,6 +5619,7 @@ class ProcessParams {
5592
5619
  "strictExpiryDate": this.strictExpiryDate,
5593
5620
  "debugSaveBinarySession": this.debugSaveBinarySession,
5594
5621
  "checkVDS": this.checkVDS,
5622
+ "strictAgeCheck": this.strictAgeCheck,
5595
5623
  "measureSystem": this.measureSystem,
5596
5624
  "barcodeParserType": this.barcodeParserType,
5597
5625
  "perspectiveAngle": this.perspectiveAngle,
@@ -8,6 +8,7 @@ export class RecognizeConfig {
8
8
  image
9
9
  images
10
10
  data
11
+ dataList
11
12
  imageInputData
12
13
  dtc
13
14
  livePortrait
@@ -24,6 +25,7 @@ export class RecognizeConfig {
24
25
  result.image = options?.image
25
26
  result.images = options?.images
26
27
  result.data = options?.data
28
+ result.dataList = options?.dataList
27
29
  result.imageInputData = options?.imageInputData
28
30
  result.dtc = options?.dtc
29
31
  result.livePortrait = options?.livePortrait
@@ -38,6 +40,7 @@ export class RecognizeConfig {
38
40
  result.image = options?.image
39
41
  result.images = options?.images
40
42
  result.data = options?.data
43
+ result.dataList = options?.dataList
41
44
  result.imageInputData = options?.imageInputData
42
45
  result.dtc = options?.dtc
43
46
  result.livePortrait = options?.livePortrait
@@ -62,6 +65,14 @@ export class RecognizeConfig {
62
65
  }
63
66
  }
64
67
  result.data = jsonObject["data"]
68
+ if (jsonObject["dataList"] != null) {
69
+ result.dataList = []
70
+ for (const item of jsonObject["dataList"]) {
71
+ if (item != null) {
72
+ result.dataList.push(item)
73
+ }
74
+ }
75
+ }
65
76
  if (jsonObject["imageInputData"] != null) {
66
77
  result.imageInputData = []
67
78
  for (const item of jsonObject["imageInputData"]) {
@@ -86,6 +97,7 @@ export class RecognizeConfig {
86
97
  "image": this.image,
87
98
  "images": this.images,
88
99
  "data": this.data,
100
+ "dataList": this.dataList,
89
101
  "imageInputData": this.imageInputData?.map(e => e.toJson()),
90
102
  "dtc": this.dtc,
91
103
  "livePortrait": this.livePortrait,
@@ -117,6 +117,12 @@ export class Functionality {
117
117
  this._set({ "homeIndicatorAutoHide": val });
118
118
  }
119
119
 
120
+ get hideStatusBar() { return this._hideStatusBar; }
121
+ set hideStatusBar(val) {
122
+ this._hideStatusBar = val;
123
+ this._set({ "hideStatusBar": val });
124
+ }
125
+
120
126
  get showCaptureButtonDelayFromDetect() { return this._showCaptureButtonDelayFromDetect; }
121
127
  set showCaptureButtonDelayFromDetect(val) {
122
128
  this._showCaptureButtonDelayFromDetect = val;
@@ -242,6 +248,7 @@ export class Functionality {
242
248
  result._torchTurnedOn = jsonObject["torchTurnedOn"];
243
249
  result._preventScreenRecording = jsonObject["preventScreenRecording"];
244
250
  result._homeIndicatorAutoHide = jsonObject["homeIndicatorAutoHide"];
251
+ result._hideStatusBar = jsonObject["hideStatusBar"];
245
252
  result._showCaptureButtonDelayFromDetect = jsonObject["showCaptureButtonDelayFromDetect"];
246
253
  result._showCaptureButtonDelayFromStart = jsonObject["showCaptureButtonDelayFromStart"];
247
254
  result._rfidTimeout = jsonObject["rfidTimeout"];
@@ -284,6 +291,7 @@ export class Functionality {
284
291
  "torchTurnedOn": this.torchTurnedOn,
285
292
  "preventScreenRecording": this.preventScreenRecording,
286
293
  "homeIndicatorAutoHide": this.homeIndicatorAutoHide,
294
+ "hideStatusBar": this.hideStatusBar,
287
295
  "showCaptureButtonDelayFromDetect": this.showCaptureButtonDelayFromDetect,
288
296
  "showCaptureButtonDelayFromStart": this.showCaptureButtonDelayFromStart,
289
297
  "rfidTimeout": this.rfidTimeout,
@@ -43,6 +43,12 @@ export class LivenessParams {
43
43
  this._set({ "checkGeometry": val });
44
44
  }
45
45
 
46
+ get checkBarcodeBackground() { return this._checkBarcodeBackground; }
47
+ set checkBarcodeBackground(val) {
48
+ this._checkBarcodeBackground = val;
49
+ this._set({ "checkBarcodeBackground": val });
50
+ }
51
+
46
52
  static fromJson(jsonObject) {
47
53
  if (jsonObject == null) return new LivenessParams();
48
54
 
@@ -54,6 +60,7 @@ export class LivenessParams {
54
60
  result._checkBlackAndWhiteCopy = jsonObject["checkBlackAndWhiteCopy"];
55
61
  result._checkDynaprint = jsonObject["checkDynaprint"];
56
62
  result._checkGeometry = jsonObject["checkGeometry"];
63
+ result._checkBarcodeBackground = jsonObject["checkBarcodeBackground"];
57
64
 
58
65
  return result;
59
66
  }
@@ -74,6 +81,7 @@ export class LivenessParams {
74
81
  "checkBlackAndWhiteCopy": this.checkBlackAndWhiteCopy,
75
82
  "checkDynaprint": this.checkDynaprint,
76
83
  "checkGeometry": this.checkGeometry,
84
+ "checkBarcodeBackground": this.checkBarcodeBackground,
77
85
  }
78
86
  }
79
87
  }
@@ -134,12 +134,6 @@ export class ProcessParams {
134
134
  this._set({ "multiDocOnImage": val });
135
135
  }
136
136
 
137
- get forceReadMrzBeforeLocate() { return this._forceReadMrzBeforeLocate; }
138
- set forceReadMrzBeforeLocate(val) {
139
- this._forceReadMrzBeforeLocate = val;
140
- this._set({ "forceReadMrzBeforeLocate": val });
141
- }
142
-
143
137
  get parseBarcodes() { return this._parseBarcodes; }
144
138
  set parseBarcodes(val) {
145
139
  this._parseBarcodes = val;
@@ -272,6 +266,12 @@ export class ProcessParams {
272
266
  this._set({ "checkVDS": val });
273
267
  }
274
268
 
269
+ get strictAgeCheck() { return this._strictAgeCheck; }
270
+ set strictAgeCheck(val) {
271
+ this._strictAgeCheck = val;
272
+ this._set({ "strictAgeCheck": val });
273
+ }
274
+
275
275
  get barcodeParserType() { return this._barcodeParserType; }
276
276
  set barcodeParserType(val) {
277
277
  this._barcodeParserType = val;
@@ -533,7 +533,6 @@ export class ProcessParams {
533
533
  result._updateOCRValidityByGlare = jsonObject["updateOCRValidityByGlare"];
534
534
  result._noGraphics = jsonObject["noGraphics"];
535
535
  result._multiDocOnImage = jsonObject["multiDocOnImage"];
536
- result._forceReadMrzBeforeLocate = jsonObject["forceReadMrzBeforeLocate"];
537
536
  result._parseBarcodes = jsonObject["parseBarcodes"];
538
537
  result._shouldReturnPackageForReprocess = jsonObject["shouldReturnPackageForReprocess"];
539
538
  result._disablePerforationOCR = jsonObject["disablePerforationOCR"];
@@ -556,6 +555,7 @@ export class ProcessParams {
556
555
  result._strictExpiryDate = jsonObject["strictExpiryDate"];
557
556
  result._debugSaveBinarySession = jsonObject["debugSaveBinarySession"];
558
557
  result._checkVDS = jsonObject["checkVDS"];
558
+ result._strictAgeCheck = jsonObject["strictAgeCheck"];
559
559
  result._barcodeParserType = jsonObject["barcodeParserType"];
560
560
  result._perspectiveAngle = jsonObject["perspectiveAngle"];
561
561
  result._minDPI = jsonObject["minDPI"];
@@ -622,7 +622,6 @@ export class ProcessParams {
622
622
  "updateOCRValidityByGlare": this.updateOCRValidityByGlare,
623
623
  "noGraphics": this.noGraphics,
624
624
  "multiDocOnImage": this.multiDocOnImage,
625
- "forceReadMrzBeforeLocate": this.forceReadMrzBeforeLocate,
626
625
  "parseBarcodes": this.parseBarcodes,
627
626
  "shouldReturnPackageForReprocess": this.shouldReturnPackageForReprocess,
628
627
  "disablePerforationOCR": this.disablePerforationOCR,
@@ -645,6 +644,7 @@ export class ProcessParams {
645
644
  "strictExpiryDate": this.strictExpiryDate,
646
645
  "debugSaveBinarySession": this.debugSaveBinarySession,
647
646
  "checkVDS": this.checkVDS,
647
+ "strictAgeCheck": this.strictAgeCheck,
648
648
  "measureSystem": this.measureSystem,
649
649
  "barcodeParserType": this.barcodeParserType,
650
650
  "perspectiveAngle": this.perspectiveAngle,
@@ -33,6 +33,11 @@ export declare class RecognizeConfig {
33
33
  */
34
34
  data?: string;
35
35
 
36
+ /**
37
+ * Binaries for processing. Array of base64 strings.
38
+ */
39
+ dataList?: string[];
40
+
36
41
  /**
37
42
  * Images(with input data) for processing.
38
43
  */
@@ -74,6 +79,7 @@ export declare class RecognizeConfig {
74
79
  image?: string,
75
80
  images?: string[],
76
81
  data?: string,
82
+ dataList?: string[],
77
83
  imageInputData?: ImageInputData[],
78
84
  dtc?: string,
79
85
  livePortrait?: string,
@@ -88,6 +94,7 @@ export declare class RecognizeConfig {
88
94
  image?: string,
89
95
  images?: string[],
90
96
  data?: string,
97
+ dataList?: string[],
91
98
  imageInputData?: ImageInputData[],
92
99
  dtc?: string,
93
100
  livePortrait?: string,
@@ -141,6 +141,10 @@ export declare class Functionality {
141
141
  * @default true
142
142
  */
143
143
  homeIndicatorAutoHide?: boolean;
144
+ /**
145
+ * Android only.
146
+ */
147
+ hideStatusBar?: boolean;
144
148
  /**
145
149
  * Allows you to specify a time interval when the Capture button
146
150
  * has to be displayed after the document is detected.
@@ -4,13 +4,11 @@ export declare class LivenessParams {
4
4
  checkHolo?: boolean;
5
5
  checkED?: boolean;
6
6
  checkBlackAndWhiteCopy?: boolean;
7
-
8
- /**
9
- * This parameter is used to enable Dynaprint detection.
10
- */
7
+ /** This parameter is used to enable Dynaprint detection. */
11
8
  checkDynaprint?: boolean;
12
-
13
9
  checkGeometry?: boolean;
10
+ /** This parameter is used to enable Barcode background check as part of the Liveness checks. */
11
+ checkBarcodeBackground?: boolean;
14
12
 
15
13
  /**
16
14
  * Allows you to deserialize object.
@@ -118,13 +118,6 @@ export declare class ProcessParams {
118
118
  * from one image if enabled.
119
119
  */
120
120
  multiDocOnImage?: boolean;
121
- /**
122
- * This option can be set to `true` to make sure that in series processing
123
- * MRZ is located fully inside the result document image, if present
124
- * on the document. Enabling this option may add extra processing time,
125
- * by disabling optimizations, but allows more stability in output image quality.
126
- */
127
- forceReadMrzBeforeLocate?: boolean;
128
121
  /**
129
122
  * When set to `false`, the Barcode code parsing will be skipped
130
123
  * and the raw information from the code will be returned instead.
@@ -217,6 +210,10 @@ export declare class ProcessParams {
217
210
  * This parameter is used to enable Visible Digital Seal check.
218
211
  */
219
212
  checkVDS?: boolean;
213
+ /**
214
+ * When enabled, the age check status affects the overall status.
215
+ */
216
+ strictAgeCheck?: boolean;
220
217
  /**
221
218
  * There are documents that contain barcodes which data can be parsed only
222
219
  * if document type verification is performed. The following property allows