@regulaforensics/react-native-document-reader-api 8.1.141-nightly → 8.1.142-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.
- package/RNDocumentReaderApi.podspec +1 -1
- package/android/build.gradle +2 -2
- package/android/src/main/java/com/regula/plugin/documentreader/Config.kt +32 -1
- package/example/package.json +2 -2
- package/index.d.ts +35 -0
- package/index.js +22 -0
- package/ios/RGLWConfig.m +20 -0
- package/package.json +1 -1
|
@@ -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 '
|
|
17
|
+
s.dependency 'DocumentReaderStage', '8.1.4667'
|
|
18
18
|
s.dependency 'React'
|
|
19
19
|
end
|
package/android/build.gradle
CHANGED
|
@@ -32,7 +32,7 @@ android {
|
|
|
32
32
|
rootProject.allprojects {
|
|
33
33
|
repositories {
|
|
34
34
|
maven {
|
|
35
|
-
url "https://maven.regulaforensics.com/RegulaDocumentReader/
|
|
35
|
+
url "https://maven.regulaforensics.com/RegulaDocumentReader/Stage"
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
}
|
|
@@ -41,7 +41,7 @@ dependencies {
|
|
|
41
41
|
//noinspection GradleDynamicVersion
|
|
42
42
|
implementation 'com.facebook.react:react-native:+'
|
|
43
43
|
//noinspection GradleDependency
|
|
44
|
-
implementation('com.regula.documentreader:api:8.1.
|
|
44
|
+
implementation('com.regula.documentreader:api:8.1.11477') {
|
|
45
45
|
transitive = true
|
|
46
46
|
}
|
|
47
47
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@file:Suppress("EnumValuesSoftDeprecate")
|
|
1
|
+
@file:Suppress("EnumValuesSoftDeprecate", "DEPRECATION")
|
|
2
2
|
|
|
3
3
|
package com.regula.plugin.documentreader
|
|
4
4
|
|
|
@@ -136,6 +136,7 @@ fun setProcessParams(processParams: ProcessParam, opts: JSONObject) = opts.forEa
|
|
|
136
136
|
"selectLongestNames" -> processParams.selectLongestNames = v as Boolean
|
|
137
137
|
"generateDTCVC" -> processParams.generateDTCVC = v as Boolean
|
|
138
138
|
"strictDLCategoryExpiry" -> processParams.strictDLCategoryExpiry = v as Boolean
|
|
139
|
+
"generateAlpha2Codes" -> processParams.generateAlpha2Codes = v as Boolean
|
|
139
140
|
"measureSystem" -> processParams.measureSystem = v.toInt()
|
|
140
141
|
"barcodeParserType" -> processParams.barcodeParserType = v.toInt()
|
|
141
142
|
"perspectiveAngle" -> processParams.perspectiveAngle = v.toInt()
|
|
@@ -151,6 +152,7 @@ fun setProcessParams(processParams: ProcessParam, opts: JSONObject) = opts.forEa
|
|
|
151
152
|
"convertCase" -> processParams.convertCase = v.toInt()
|
|
152
153
|
"logLevel" -> processParams.logLevel = LogLevel.valueOf(v.toString())
|
|
153
154
|
"mrzDetectMode" -> processParams.mrzDetectMode = v.toInt()
|
|
155
|
+
"pdfPagesLimit" -> processParams.pdfPagesLimit = v.toInt()
|
|
154
156
|
"dateFormat" -> processParams.dateFormat = v as String
|
|
155
157
|
"scenario" -> processParams.scenario = v as String
|
|
156
158
|
"captureButtonScenario" -> processParams.captureButtonScenario = v as String
|
|
@@ -218,6 +220,7 @@ fun getProcessParams(processParams: ProcessParam) = mapOf(
|
|
|
218
220
|
"selectLongestNames" to processParams.selectLongestNames,
|
|
219
221
|
"generateDTCVC" to processParams.generateDTCVC,
|
|
220
222
|
"strictDLCategoryExpiry" to processParams.strictDLCategoryExpiry,
|
|
223
|
+
"generateAlpha2Codes" to processParams.generateAlpha2Codes,
|
|
221
224
|
"measureSystem" to processParams.measureSystem,
|
|
222
225
|
"barcodeParserType" to processParams.barcodeParserType,
|
|
223
226
|
"perspectiveAngle" to processParams.perspectiveAngle,
|
|
@@ -233,6 +236,7 @@ fun getProcessParams(processParams: ProcessParam) = mapOf(
|
|
|
233
236
|
"convertCase" to processParams.convertCase,
|
|
234
237
|
"logLevel" to processParams.logLevel?.toString(),
|
|
235
238
|
"mrzDetectMode" to processParams.mrzDetectMode,
|
|
239
|
+
"pdfPagesLimit" to processParams.pdfPagesLimit,
|
|
236
240
|
"dateFormat" to processParams.dateFormat,
|
|
237
241
|
"scenario" to processParams.scenario,
|
|
238
242
|
"captureButtonScenario" to processParams.captureButtonScenario,
|
|
@@ -272,6 +276,7 @@ fun setCustomization(customization: ParamsCustomization, opts: JSONObject) = opt
|
|
|
272
276
|
"activityIndicatorSize" -> editor.setActivityIndicatorSize(v.toInt())
|
|
273
277
|
"status" -> editor.setStatus(v as String)
|
|
274
278
|
"resultStatus" -> editor.setResultStatus(v as String)
|
|
279
|
+
"multipageButtonText" -> editor.setMultipageButtonText(v as String)
|
|
275
280
|
"cameraFrameDefaultColor" -> editor.setCameraFrameDefaultColor(v.toColor())
|
|
276
281
|
"cameraFrameActiveColor" -> editor.setCameraFrameActiveColor(v.toColor())
|
|
277
282
|
"statusTextColor" -> editor.setStatusTextColor(v.toColor())
|
|
@@ -283,6 +288,7 @@ fun setCustomization(customization: ParamsCustomization, opts: JSONObject) = opt
|
|
|
283
288
|
"statusBackgroundColor" -> editor.setStatusBackgroundColor(v.toColor())
|
|
284
289
|
"cameraPreviewBackgroundColor" -> editor.setCameraPreviewBackgroundColor(v.toColor())
|
|
285
290
|
"backgroundMaskColor" -> editor.setBackgroundMaskColor(v.toColor())
|
|
291
|
+
"multipageButtonTextColor" -> editor.setMultipageButtonTextColor(v.toColor())
|
|
286
292
|
"statusPositionMultiplier" -> editor.setStatusPositionMultiplier(v.toFloat())
|
|
287
293
|
"resultStatusPositionMultiplier" -> editor.setResultStatusPositionMultiplier(v.toFloat())
|
|
288
294
|
"toolbarSize" -> editor.setToolbarSize(v.toFloat())
|
|
@@ -295,6 +301,9 @@ fun setCustomization(customization: ParamsCustomization, opts: JSONObject) = opt
|
|
|
295
301
|
"livenessAnimationPositionMultiplier" -> editor.setLivenessAnimationPositionMultiplier(v.toFloat())
|
|
296
302
|
"nextPageAnimationStartDelay" -> editor.setNextPageAnimationStartDelay(v.toFloat())
|
|
297
303
|
"nextPageAnimationEndDelay" -> editor.setNextPageAnimationEndDelay(v.toFloat())
|
|
304
|
+
"activityIndicatorPortraitPositionMultiplier" -> editor.setActivityIndicatorPortraitPositionMultiplier(v.toFloat())
|
|
305
|
+
"activityIndicatorLandscapePositionMultiplier" -> editor.setActivityIndicatorLandscapePositionMultiplier(v.toFloat())
|
|
306
|
+
"cameraPreviewVerticalPositionMultiplier" -> editor.setCameraPreviewVerticalPositionMultiplier(v.toFloat())
|
|
298
307
|
"multipageAnimationFrontImage" -> editor.setMultipageAnimationFrontImage(v.toDrawable())
|
|
299
308
|
"multipageAnimationBackImage" -> editor.setMultipageAnimationBackImage(v.toDrawable())
|
|
300
309
|
"borderBackgroundImage" -> editor.setBorderBackgroundImage(v.toDrawable())
|
|
@@ -329,6 +338,12 @@ fun setCustomization(customization: ParamsCustomization, opts: JSONObject) = opt
|
|
|
329
338
|
editor.setResultStatusTextFont(font.first)
|
|
330
339
|
font.second?.let { editor.setResultStatusTextSize(it) }
|
|
331
340
|
}
|
|
341
|
+
|
|
342
|
+
"multipageButtonTextFont" -> {
|
|
343
|
+
val font = typefaceFromJSON(v as JSONObject)
|
|
344
|
+
editor.setMultipageButtonTextFont(font.first)
|
|
345
|
+
font.second?.let { editor.setMultipageButtonTextSize(it) }
|
|
346
|
+
}
|
|
332
347
|
}
|
|
333
348
|
editor.applyImmediately(context)
|
|
334
349
|
}
|
|
@@ -346,6 +361,7 @@ fun getCustomization(customization: ParamsCustomization) = mapOf(
|
|
|
346
361
|
"activityIndicatorSize" to customization.activityIndicatorSize,
|
|
347
362
|
"status" to customization.status,
|
|
348
363
|
"resultStatus" to customization.resultStatus,
|
|
364
|
+
"multipageButtonText" to customization.multipageButtonText,
|
|
349
365
|
"cameraFrameDefaultColor" to customization.cameraFrameDefaultColor.colorToLong(),
|
|
350
366
|
"cameraFrameActiveColor" to customization.cameraFrameActiveColor.colorToLong(),
|
|
351
367
|
"statusTextColor" to customization.statusTextColor.colorToLong(),
|
|
@@ -357,6 +373,7 @@ fun getCustomization(customization: ParamsCustomization) = mapOf(
|
|
|
357
373
|
"statusBackgroundColor" to customization.statusBackgroundColor.colorToLong(),
|
|
358
374
|
"cameraPreviewBackgroundColor" to customization.cameraPreviewBackgroundColor.colorToLong(),
|
|
359
375
|
"backgroundMaskColor" to customization.backgroundMaskColor.colorToLong(),
|
|
376
|
+
"multipageButtonTextColor" to customization.multipageButtonTextColor.colorToLong(),
|
|
360
377
|
"statusPositionMultiplier" to customization.statusPositionMultiplier,
|
|
361
378
|
"resultStatusPositionMultiplier" to customization.resultStatusPositionMultiplier,
|
|
362
379
|
"backgroundMaskAlpha" to customization.backgroundMaskAlpha,
|
|
@@ -369,6 +386,9 @@ fun getCustomization(customization: ParamsCustomization) = mapOf(
|
|
|
369
386
|
"livenessAnimationPositionMultiplier" to customization.livenessAnimationPositionMultiplier,
|
|
370
387
|
"nextPageAnimationStartDelay" to customization.nextPageAnimationStartDelay,
|
|
371
388
|
"nextPageAnimationEndDelay" to customization.nextPageAnimationEndDelay,
|
|
389
|
+
"activityIndicatorPortraitPositionMultiplier" to customization.activityIndicatorPortraitPositionMultiplier,
|
|
390
|
+
"activityIndicatorLandscapePositionMultiplier" to customization.activityIndicatorLandscapePositionMultiplier,
|
|
391
|
+
"cameraPreviewVerticalPositionMultiplier" to customization.cameraPreviewVerticalPositionMultiplier,
|
|
372
392
|
"multipageAnimationFrontImage" to customization.multipageAnimationFrontImage.toBase64(),
|
|
373
393
|
"multipageAnimationBackImage" to customization.multipageAnimationBackImage.toBase64(),
|
|
374
394
|
"borderBackgroundImage" to customization.borderBackgroundImage.toBase64(),
|
|
@@ -388,6 +408,7 @@ fun getCustomization(customization: ParamsCustomization) = mapOf(
|
|
|
388
408
|
"borderBackgroundImageMatrix" to generateMatrix(customization.borderBackgroundImageMatrix),
|
|
389
409
|
"statusTextFont" to generateTypeface(customization.statusTextFont, customization.statusTextSize),
|
|
390
410
|
"resultStatusTextFont" to generateTypeface(customization.resultStatusTextFont, customization.resultStatusTextSize),
|
|
411
|
+
"multipageButtonTextFont" to generateTypeface(customization.multipageButtonTextFont, customization.multipageButtonTextSize),
|
|
391
412
|
"customLabelStatus" to customization.customLabelStatus?.toString(),
|
|
392
413
|
"cameraFrameLineCap" to customization.cameraFrameLineCap.ordinal,
|
|
393
414
|
"uiCustomizationLayer" to customization.uiCustomizationLayer,
|
|
@@ -452,6 +473,10 @@ fun setRfidScenario(rfidScenario: RfidScenario, opts: JSONObject) = opts.forEach
|
|
|
452
473
|
"eSignPINDefault" -> rfidScenario.seteSignPINDefault(v as String)
|
|
453
474
|
"eSignPINNewValue" -> rfidScenario.seteSignPINNewValue(v as String)
|
|
454
475
|
"cardAccess" -> rfidScenario.cardAccess = v as String
|
|
476
|
+
"mrzHash" -> rfidScenario.mrzHash = v as String
|
|
477
|
+
"documentNumber" -> rfidScenario.documentNumber = v as String
|
|
478
|
+
"dateOfBirth" -> rfidScenario.dateOfBirth = v as String
|
|
479
|
+
"dateOfExpiry" -> rfidScenario.dateOfExpiry = v as String
|
|
455
480
|
"ePassportDataGroups" -> setDataGroups(rfidScenario.ePassportDataGroups(), v as JSONObject)
|
|
456
481
|
"eIDDataGroups" -> setDataGroups(rfidScenario.eIDDataGroups(), v as JSONObject)
|
|
457
482
|
"eDLDataGroups" -> setDataGroups(rfidScenario.eDLDataGroups(), v as JSONObject)
|
|
@@ -514,6 +539,10 @@ fun getRfidScenario(rfidScenario: RfidScenario) = mapOf(
|
|
|
514
539
|
"eSignPINDefault" to rfidScenario.geteSignPINDefault(),
|
|
515
540
|
"eSignPINNewValue" to rfidScenario.geteSignPINNewValue(),
|
|
516
541
|
"cardAccess" to rfidScenario.cardAccess,
|
|
542
|
+
"mrzHash" to rfidScenario.mrzHash,
|
|
543
|
+
"documentNumber" to rfidScenario.documentNumber,
|
|
544
|
+
"dateOfBirth" to rfidScenario.dateOfBirth,
|
|
545
|
+
"dateOfExpiry" to rfidScenario.dateOfExpiry,
|
|
517
546
|
"ePassportDataGroups" to getDataGroups(rfidScenario.ePassportDataGroups()),
|
|
518
547
|
"eIDDataGroups" to getDataGroups(rfidScenario.eIDDataGroups()),
|
|
519
548
|
"eDLDataGroups" to getDataGroups(rfidScenario.eDLDataGroups()),
|
|
@@ -688,6 +717,7 @@ fun setLivenessParams(input: LivenessParams, opts: JSONObject) = opts.forEach {
|
|
|
688
717
|
"checkED" -> input.checkED = v as Boolean
|
|
689
718
|
"checkBlackAndWhiteCopy" -> input.checkBlackAndWhiteCopy = v as Boolean
|
|
690
719
|
"checkDynaprint" -> input.checkDynaprint = v as Boolean
|
|
720
|
+
"checkGeometry" -> input.checkGeometry = v as Boolean
|
|
691
721
|
}
|
|
692
722
|
}
|
|
693
723
|
|
|
@@ -699,6 +729,7 @@ fun getLivenessParams(input: LivenessParams?) = input?.let {
|
|
|
699
729
|
"checkED" to input.checkED,
|
|
700
730
|
"checkBlackAndWhiteCopy" to input.checkBlackAndWhiteCopy,
|
|
701
731
|
"checkDynaprint" to input.checkDynaprint,
|
|
732
|
+
"checkGeometry" to input.checkGeometry,
|
|
702
733
|
).toJson()
|
|
703
734
|
}
|
|
704
735
|
|
package/example/package.json
CHANGED
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"test": "jest"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@regulaforensics/react-native-document-reader-api": "8.1.
|
|
14
|
-
"@regulaforensics/react-native-document-reader-core-fullauthrfid": "8.1.
|
|
13
|
+
"@regulaforensics/react-native-document-reader-api": "8.1.142-rc",
|
|
14
|
+
"@regulaforensics/react-native-document-reader-core-fullauthrfid": "8.1.331-rc",
|
|
15
15
|
"react-native-progress": "5.0.0",
|
|
16
16
|
"react-native-radio-buttons-group": "3.0.5",
|
|
17
17
|
"@rneui/base": "4.0.0-rc.7",
|
package/index.d.ts
CHANGED
|
@@ -2034,6 +2034,7 @@ export class LivenessParams {
|
|
|
2034
2034
|
checkED?: boolean
|
|
2035
2035
|
checkBlackAndWhiteCopy?: boolean
|
|
2036
2036
|
checkDynaprint?: boolean
|
|
2037
|
+
checkGeometry?: boolean
|
|
2037
2038
|
|
|
2038
2039
|
static fromJson(jsonObject?: any): LivenessParams | undefined {
|
|
2039
2040
|
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
@@ -2045,6 +2046,7 @@ export class LivenessParams {
|
|
|
2045
2046
|
result.checkED = jsonObject["checkED"]
|
|
2046
2047
|
result.checkBlackAndWhiteCopy = jsonObject["checkBlackAndWhiteCopy"]
|
|
2047
2048
|
result.checkDynaprint = jsonObject["checkDynaprint"]
|
|
2049
|
+
result.checkGeometry = jsonObject["checkGeometry"]
|
|
2048
2050
|
|
|
2049
2051
|
return result
|
|
2050
2052
|
}
|
|
@@ -2130,6 +2132,7 @@ export class ProcessParams {
|
|
|
2130
2132
|
selectLongestNames?: boolean
|
|
2131
2133
|
generateDTCVC?: boolean
|
|
2132
2134
|
strictDLCategoryExpiry?: boolean
|
|
2135
|
+
generateAlpha2Codes?: boolean
|
|
2133
2136
|
barcodeParserType?: number
|
|
2134
2137
|
perspectiveAngle?: number
|
|
2135
2138
|
minDPI?: number
|
|
@@ -2145,6 +2148,7 @@ export class ProcessParams {
|
|
|
2145
2148
|
mrzDetectMode?: number
|
|
2146
2149
|
measureSystem?: number
|
|
2147
2150
|
forceDocID?: number
|
|
2151
|
+
pdfPagesLimit?: number
|
|
2148
2152
|
dateFormat?: string
|
|
2149
2153
|
scenario?: string
|
|
2150
2154
|
captureButtonScenario?: string
|
|
@@ -2208,6 +2212,7 @@ export class ProcessParams {
|
|
|
2208
2212
|
result.selectLongestNames = jsonObject["selectLongestNames"]
|
|
2209
2213
|
result.generateDTCVC = jsonObject["generateDTCVC"]
|
|
2210
2214
|
result.strictDLCategoryExpiry = jsonObject["strictDLCategoryExpiry"]
|
|
2215
|
+
result.generateAlpha2Codes = jsonObject["generateAlpha2Codes"]
|
|
2211
2216
|
result.barcodeParserType = jsonObject["barcodeParserType"]
|
|
2212
2217
|
result.perspectiveAngle = jsonObject["perspectiveAngle"]
|
|
2213
2218
|
result.minDPI = jsonObject["minDPI"]
|
|
@@ -2223,6 +2228,7 @@ export class ProcessParams {
|
|
|
2223
2228
|
result.mrzDetectMode = jsonObject["mrzDetectMode"]
|
|
2224
2229
|
result.measureSystem = jsonObject["measureSystem"]
|
|
2225
2230
|
result.forceDocID = jsonObject["forceDocID"]
|
|
2231
|
+
result.pdfPagesLimit = jsonObject["pdfPagesLimit"]
|
|
2226
2232
|
result.dateFormat = jsonObject["dateFormat"]
|
|
2227
2233
|
result.scenario = jsonObject["scenario"]
|
|
2228
2234
|
result.captureButtonScenario = jsonObject["captureButtonScenario"]
|
|
@@ -2378,6 +2384,7 @@ export class Customization {
|
|
|
2378
2384
|
cameraFrameShapeType?: number
|
|
2379
2385
|
status?: string
|
|
2380
2386
|
resultStatus?: string
|
|
2387
|
+
multipageButtonText?: string
|
|
2381
2388
|
cameraFrameDefaultColor?: number
|
|
2382
2389
|
cameraFrameActiveColor?: number
|
|
2383
2390
|
statusTextColor?: number
|
|
@@ -2389,6 +2396,7 @@ export class Customization {
|
|
|
2389
2396
|
statusBackgroundColor?: number
|
|
2390
2397
|
cameraPreviewBackgroundColor?: number
|
|
2391
2398
|
backgroundMaskColor?: number
|
|
2399
|
+
multipageButtonTextColor?: number
|
|
2392
2400
|
statusPositionMultiplier?: number
|
|
2393
2401
|
resultStatusPositionMultiplier?: number
|
|
2394
2402
|
toolbarSize?: number
|
|
@@ -2399,6 +2407,9 @@ export class Customization {
|
|
|
2399
2407
|
cameraFrameLandscapeAspectRatio?: number
|
|
2400
2408
|
cameraFramePortraitAspectRatio?: number
|
|
2401
2409
|
cameraFrameCornerRadius?: number
|
|
2410
|
+
activityIndicatorPortraitPositionMultiplier?: number
|
|
2411
|
+
activityIndicatorLandscapePositionMultiplier?: number
|
|
2412
|
+
cameraPreviewVerticalPositionMultiplier?: number
|
|
2402
2413
|
multipageAnimationFrontImage?: string
|
|
2403
2414
|
multipageAnimationBackImage?: string
|
|
2404
2415
|
borderBackgroundImage?: string
|
|
@@ -2413,6 +2424,7 @@ export class Customization {
|
|
|
2413
2424
|
livenessAnimationImage?: string
|
|
2414
2425
|
statusTextFont?: Font
|
|
2415
2426
|
resultStatusTextFont?: Font
|
|
2427
|
+
multipageButtonTextFont?: Font
|
|
2416
2428
|
customLabelStatus?: string
|
|
2417
2429
|
cameraFrameLineCap?: number
|
|
2418
2430
|
uiCustomizationLayer?: Record<string, any>
|
|
@@ -2447,6 +2459,7 @@ export class Customization {
|
|
|
2447
2459
|
result.cameraFrameShapeType = jsonObject["cameraFrameShapeType"]
|
|
2448
2460
|
result.status = jsonObject["status"]
|
|
2449
2461
|
result.resultStatus = jsonObject["resultStatus"]
|
|
2462
|
+
result.multipageButtonText = jsonObject["multipageButtonText"]
|
|
2450
2463
|
result.cameraFrameDefaultColor = jsonObject["cameraFrameDefaultColor"]
|
|
2451
2464
|
result.cameraFrameActiveColor = jsonObject["cameraFrameActiveColor"]
|
|
2452
2465
|
result.statusTextColor = jsonObject["statusTextColor"]
|
|
@@ -2458,6 +2471,7 @@ export class Customization {
|
|
|
2458
2471
|
result.statusBackgroundColor = jsonObject["statusBackgroundColor"]
|
|
2459
2472
|
result.cameraPreviewBackgroundColor = jsonObject["cameraPreviewBackgroundColor"]
|
|
2460
2473
|
result.backgroundMaskColor = jsonObject["backgroundMaskColor"]
|
|
2474
|
+
result.multipageButtonTextColor = jsonObject["multipageButtonTextColor"]
|
|
2461
2475
|
result.statusPositionMultiplier = jsonObject["statusPositionMultiplier"]
|
|
2462
2476
|
result.resultStatusPositionMultiplier = jsonObject["resultStatusPositionMultiplier"]
|
|
2463
2477
|
result.toolbarSize = jsonObject["toolbarSize"]
|
|
@@ -2468,6 +2482,9 @@ export class Customization {
|
|
|
2468
2482
|
result.cameraFrameLandscapeAspectRatio = jsonObject["cameraFrameLandscapeAspectRatio"]
|
|
2469
2483
|
result.cameraFramePortraitAspectRatio = jsonObject["cameraFramePortraitAspectRatio"]
|
|
2470
2484
|
result.cameraFrameCornerRadius = jsonObject["cameraFrameCornerRadius"]
|
|
2485
|
+
result.activityIndicatorPortraitPositionMultiplier = jsonObject["activityIndicatorPortraitPositionMultiplier"]
|
|
2486
|
+
result.activityIndicatorLandscapePositionMultiplier = jsonObject["activityIndicatorLandscapePositionMultiplier"]
|
|
2487
|
+
result.cameraPreviewVerticalPositionMultiplier = jsonObject["cameraPreviewVerticalPositionMultiplier"]
|
|
2471
2488
|
result.multipageAnimationFrontImage = jsonObject["multipageAnimationFrontImage"]
|
|
2472
2489
|
result.multipageAnimationBackImage = jsonObject["multipageAnimationBackImage"]
|
|
2473
2490
|
result.borderBackgroundImage = jsonObject["borderBackgroundImage"]
|
|
@@ -2482,6 +2499,7 @@ export class Customization {
|
|
|
2482
2499
|
result.livenessAnimationImage = jsonObject["livenessAnimationImage"]
|
|
2483
2500
|
result.statusTextFont = Font.fromJson(jsonObject["statusTextFont"])
|
|
2484
2501
|
result.resultStatusTextFont = Font.fromJson(jsonObject["resultStatusTextFont"])
|
|
2502
|
+
result.multipageButtonTextFont = Font.fromJson(jsonObject["multipageButtonTextFont"])
|
|
2485
2503
|
result.customLabelStatus = jsonObject["customLabelStatus"]
|
|
2486
2504
|
result.cameraFrameLineCap = jsonObject["cameraFrameLineCap"]
|
|
2487
2505
|
result.uiCustomizationLayer = jsonObject["uiCustomizationLayer"]
|
|
@@ -2739,6 +2757,10 @@ export class RFIDScenario {
|
|
|
2739
2757
|
eSignPINDefault?: string
|
|
2740
2758
|
eSignPINNewValue?: string
|
|
2741
2759
|
cardAccess?: string
|
|
2760
|
+
mrzHash?: string
|
|
2761
|
+
documentNumber?: string
|
|
2762
|
+
dateOfBirth?: string
|
|
2763
|
+
dateOfExpiry?: string
|
|
2742
2764
|
eDLDataGroups?: EDLDataGroups
|
|
2743
2765
|
ePassportDataGroups?: EPassportDataGroups
|
|
2744
2766
|
eIDDataGroups?: EIDDataGroups
|
|
@@ -2802,6 +2824,10 @@ export class RFIDScenario {
|
|
|
2802
2824
|
result.eSignPINDefault = jsonObject["eSignPINDefault"]
|
|
2803
2825
|
result.eSignPINNewValue = jsonObject["eSignPINNewValue"]
|
|
2804
2826
|
result.cardAccess = jsonObject["cardAccess"]
|
|
2827
|
+
result.mrzHash = jsonObject["mrzHash"]
|
|
2828
|
+
result.documentNumber = jsonObject["documentNumber"]
|
|
2829
|
+
result.dateOfBirth = jsonObject["dateOfBirth"]
|
|
2830
|
+
result.dateOfExpiry = jsonObject["dateOfExpiry"]
|
|
2805
2831
|
result.eDLDataGroups = EDLDataGroups.fromJson(jsonObject["eDLDataGroups"])
|
|
2806
2832
|
result.ePassportDataGroups = EPassportDataGroups.fromJson(jsonObject["ePassportDataGroups"])
|
|
2807
2833
|
result.eIDDataGroups = EIDDataGroups.fromJson(jsonObject["eIDDataGroups"])
|
|
@@ -3343,6 +3369,7 @@ export const ScenarioIdentifier = {
|
|
|
3343
3369
|
SCENARIO_CREDIT_CARD: "CreditCard",
|
|
3344
3370
|
SCENARIO_CAPTURE: "Capture",
|
|
3345
3371
|
SCENARIO_DTC: "DTC",
|
|
3372
|
+
SCENARIO_RFID: "RFID",
|
|
3346
3373
|
}
|
|
3347
3374
|
|
|
3348
3375
|
export const eRFID_AccessControl_ProcedureType = {
|
|
@@ -3409,6 +3436,7 @@ export const eRFID_Password_Type = {
|
|
|
3409
3436
|
PPT_PUK: 4,
|
|
3410
3437
|
PPT_PIN_ESIGN: 5,
|
|
3411
3438
|
PPT_SAI: 6,
|
|
3439
|
+
PPT_MRZ_HASH: 7,
|
|
3412
3440
|
}
|
|
3413
3441
|
|
|
3414
3442
|
export const ViewContentMode = {
|
|
@@ -3895,6 +3923,8 @@ export const eLDS_ParsingNotificationCodes = {
|
|
|
3895
3923
|
NTF_LDS_ICAO_CERTIFICATE_VISUAL_MRZ_COUNTRY_NON_MATCHING: 0x90000251,
|
|
3896
3924
|
NTF_LDS_MRZ_COUNTRYCODE_VISUALMRZ_NON_MATCHING: 0x00022019,
|
|
3897
3925
|
NTF_LDS_ICAO_CERTIFICATE_MRZ_COUNTRY_NON_MATCHING: 0x90000252,
|
|
3926
|
+
NTF_LDS_ICAO_CERTIFICATE_ISSUER_COUNTRY_NON_UPPER_CASE: 0x90000253,
|
|
3927
|
+
NTF_LDS_ICAO_CERTIFICATE_SUBJECT_COUNTRY_NON_UPPER_CASE: 0x90000254,
|
|
3898
3928
|
}
|
|
3899
3929
|
|
|
3900
3930
|
export const eImageQualityCheckType = {
|
|
@@ -3998,6 +4028,8 @@ export const eRPRM_SecurityFeatureType = {
|
|
|
3998
4028
|
SECURITY_FEATURE_TYPE_CONTACT_CHIP_CLASSIFICATION: 51,
|
|
3999
4029
|
SECURITY_FEATURE_TYPE_HEAD_POSITION_CHECK: 52,
|
|
4000
4030
|
SECURITY_FEATURE_TYPE_LIVENESS_BLACK_AND_WHITE_COPY_CHECK: 53,
|
|
4031
|
+
SECURITY_FEATURE_TYPE_LIVENESS_DYNAPRINT_CHECK: 54,
|
|
4032
|
+
SECURITY_FEATURE_TYPE_LIVENESS_GEOMETRY_CHECK: 55,
|
|
4001
4033
|
}
|
|
4002
4034
|
|
|
4003
4035
|
export const OnlineMode = {
|
|
@@ -5094,6 +5126,9 @@ export const eVisualFieldType = {
|
|
|
5094
5126
|
FT_EF_CARD_ACCESS: 692,
|
|
5095
5127
|
FT_SHORT_FLIGHT_NUMBER: 693,
|
|
5096
5128
|
FT_AIRLINE_CODE: 694,
|
|
5129
|
+
FT_MVC_AGENCY: 695,
|
|
5130
|
+
FT_ISSUING_STATE_CODE_ALPHA2: 696,
|
|
5131
|
+
FT_NATIONALITY_CODE_ALPHA2: 697,
|
|
5097
5132
|
}
|
|
5098
5133
|
|
|
5099
5134
|
export const DocReaderOrientation = {
|
package/index.js
CHANGED
|
@@ -1389,6 +1389,7 @@ export class LivenessParams {
|
|
|
1389
1389
|
result.checkED = jsonObject["checkED"]
|
|
1390
1390
|
result.checkBlackAndWhiteCopy = jsonObject["checkBlackAndWhiteCopy"]
|
|
1391
1391
|
result.checkDynaprint = jsonObject["checkDynaprint"]
|
|
1392
|
+
result.checkGeometry = jsonObject["checkGeometry"]
|
|
1392
1393
|
|
|
1393
1394
|
return result
|
|
1394
1395
|
}
|
|
@@ -1461,6 +1462,7 @@ export class ProcessParams {
|
|
|
1461
1462
|
result.selectLongestNames = jsonObject["selectLongestNames"]
|
|
1462
1463
|
result.generateDTCVC = jsonObject["generateDTCVC"]
|
|
1463
1464
|
result.strictDLCategoryExpiry = jsonObject["strictDLCategoryExpiry"]
|
|
1465
|
+
result.generateAlpha2Codes = jsonObject["generateAlpha2Codes"]
|
|
1464
1466
|
result.barcodeParserType = jsonObject["barcodeParserType"]
|
|
1465
1467
|
result.perspectiveAngle = jsonObject["perspectiveAngle"]
|
|
1466
1468
|
result.minDPI = jsonObject["minDPI"]
|
|
@@ -1476,6 +1478,7 @@ export class ProcessParams {
|
|
|
1476
1478
|
result.mrzDetectMode = jsonObject["mrzDetectMode"]
|
|
1477
1479
|
result.measureSystem = jsonObject["measureSystem"]
|
|
1478
1480
|
result.forceDocID = jsonObject["forceDocID"]
|
|
1481
|
+
result.pdfPagesLimit = jsonObject["pdfPagesLimit"]
|
|
1479
1482
|
result.dateFormat = jsonObject["dateFormat"]
|
|
1480
1483
|
result.scenario = jsonObject["scenario"]
|
|
1481
1484
|
result.captureButtonScenario = jsonObject["captureButtonScenario"]
|
|
@@ -1600,6 +1603,7 @@ export class Customization {
|
|
|
1600
1603
|
result.cameraFrameShapeType = jsonObject["cameraFrameShapeType"]
|
|
1601
1604
|
result.status = jsonObject["status"]
|
|
1602
1605
|
result.resultStatus = jsonObject["resultStatus"]
|
|
1606
|
+
result.multipageButtonText = jsonObject["multipageButtonText"]
|
|
1603
1607
|
result.cameraFrameDefaultColor = jsonObject["cameraFrameDefaultColor"]
|
|
1604
1608
|
result.cameraFrameActiveColor = jsonObject["cameraFrameActiveColor"]
|
|
1605
1609
|
result.statusTextColor = jsonObject["statusTextColor"]
|
|
@@ -1611,6 +1615,7 @@ export class Customization {
|
|
|
1611
1615
|
result.statusBackgroundColor = jsonObject["statusBackgroundColor"]
|
|
1612
1616
|
result.cameraPreviewBackgroundColor = jsonObject["cameraPreviewBackgroundColor"]
|
|
1613
1617
|
result.backgroundMaskColor = jsonObject["backgroundMaskColor"]
|
|
1618
|
+
result.multipageButtonTextColor = jsonObject["multipageButtonTextColor"]
|
|
1614
1619
|
result.statusPositionMultiplier = jsonObject["statusPositionMultiplier"]
|
|
1615
1620
|
result.resultStatusPositionMultiplier = jsonObject["resultStatusPositionMultiplier"]
|
|
1616
1621
|
result.toolbarSize = jsonObject["toolbarSize"]
|
|
@@ -1621,6 +1626,9 @@ export class Customization {
|
|
|
1621
1626
|
result.cameraFrameLandscapeAspectRatio = jsonObject["cameraFrameLandscapeAspectRatio"]
|
|
1622
1627
|
result.cameraFramePortraitAspectRatio = jsonObject["cameraFramePortraitAspectRatio"]
|
|
1623
1628
|
result.cameraFrameCornerRadius = jsonObject["cameraFrameCornerRadius"]
|
|
1629
|
+
result.activityIndicatorPortraitPositionMultiplier = jsonObject["activityIndicatorPortraitPositionMultiplier"]
|
|
1630
|
+
result.activityIndicatorLandscapePositionMultiplier = jsonObject["activityIndicatorLandscapePositionMultiplier"]
|
|
1631
|
+
result.cameraPreviewVerticalPositionMultiplier = jsonObject["cameraPreviewVerticalPositionMultiplier"]
|
|
1624
1632
|
result.multipageAnimationFrontImage = jsonObject["multipageAnimationFrontImage"]
|
|
1625
1633
|
result.multipageAnimationBackImage = jsonObject["multipageAnimationBackImage"]
|
|
1626
1634
|
result.borderBackgroundImage = jsonObject["borderBackgroundImage"]
|
|
@@ -1635,6 +1643,7 @@ export class Customization {
|
|
|
1635
1643
|
result.livenessAnimationImage = jsonObject["livenessAnimationImage"]
|
|
1636
1644
|
result.statusTextFont = Font.fromJson(jsonObject["statusTextFont"])
|
|
1637
1645
|
result.resultStatusTextFont = Font.fromJson(jsonObject["resultStatusTextFont"])
|
|
1646
|
+
result.multipageButtonTextFont = Font.fromJson(jsonObject["multipageButtonTextFont"])
|
|
1638
1647
|
result.customLabelStatus = jsonObject["customLabelStatus"]
|
|
1639
1648
|
result.cameraFrameLineCap = jsonObject["cameraFrameLineCap"]
|
|
1640
1649
|
result.uiCustomizationLayer = jsonObject["uiCustomizationLayer"]
|
|
@@ -1826,6 +1835,10 @@ export class RFIDScenario {
|
|
|
1826
1835
|
result.eSignPINDefault = jsonObject["eSignPINDefault"]
|
|
1827
1836
|
result.eSignPINNewValue = jsonObject["eSignPINNewValue"]
|
|
1828
1837
|
result.cardAccess = jsonObject["cardAccess"]
|
|
1838
|
+
result.mrzHash = jsonObject["mrzHash"]
|
|
1839
|
+
result.documentNumber = jsonObject["documentNumber"]
|
|
1840
|
+
result.dateOfBirth = jsonObject["dateOfBirth"]
|
|
1841
|
+
result.dateOfExpiry = jsonObject["dateOfExpiry"]
|
|
1829
1842
|
result.eDLDataGroups = EDLDataGroups.fromJson(jsonObject["eDLDataGroups"])
|
|
1830
1843
|
result.ePassportDataGroups = EPassportDataGroups.fromJson(jsonObject["ePassportDataGroups"])
|
|
1831
1844
|
result.eIDDataGroups = EIDDataGroups.fromJson(jsonObject["eIDDataGroups"])
|
|
@@ -2365,6 +2378,7 @@ export const ScenarioIdentifier = {
|
|
|
2365
2378
|
SCENARIO_CREDIT_CARD: "CreditCard",
|
|
2366
2379
|
SCENARIO_CAPTURE: "Capture",
|
|
2367
2380
|
SCENARIO_DTC: "DTC",
|
|
2381
|
+
SCENARIO_RFID: "RFID",
|
|
2368
2382
|
}
|
|
2369
2383
|
|
|
2370
2384
|
export const eRFID_AccessControl_ProcedureType = {
|
|
@@ -2431,6 +2445,7 @@ export const eRFID_Password_Type = {
|
|
|
2431
2445
|
PPT_PUK: 4,
|
|
2432
2446
|
PPT_PIN_ESIGN: 5,
|
|
2433
2447
|
PPT_SAI: 6,
|
|
2448
|
+
PPT_MRZ_HASH: 7,
|
|
2434
2449
|
}
|
|
2435
2450
|
|
|
2436
2451
|
export const ViewContentMode = {
|
|
@@ -2917,6 +2932,8 @@ export const eLDS_ParsingNotificationCodes = {
|
|
|
2917
2932
|
NTF_LDS_ICAO_CERTIFICATE_VISUAL_MRZ_COUNTRY_NON_MATCHING: 0x90000251,
|
|
2918
2933
|
NTF_LDS_MRZ_COUNTRYCODE_VISUALMRZ_NON_MATCHING: 0x00022019,
|
|
2919
2934
|
NTF_LDS_ICAO_CERTIFICATE_MRZ_COUNTRY_NON_MATCHING: 0x90000252,
|
|
2935
|
+
NTF_LDS_ICAO_CERTIFICATE_ISSUER_COUNTRY_NON_UPPER_CASE: 0x90000253,
|
|
2936
|
+
NTF_LDS_ICAO_CERTIFICATE_SUBJECT_COUNTRY_NON_UPPER_CASE: 0x90000254,
|
|
2920
2937
|
}
|
|
2921
2938
|
|
|
2922
2939
|
export const eImageQualityCheckType = {
|
|
@@ -3020,6 +3037,8 @@ export const eRPRM_SecurityFeatureType = {
|
|
|
3020
3037
|
SECURITY_FEATURE_TYPE_CONTACT_CHIP_CLASSIFICATION: 51,
|
|
3021
3038
|
SECURITY_FEATURE_TYPE_HEAD_POSITION_CHECK: 52,
|
|
3022
3039
|
SECURITY_FEATURE_TYPE_LIVENESS_BLACK_AND_WHITE_COPY_CHECK: 53,
|
|
3040
|
+
SECURITY_FEATURE_TYPE_LIVENESS_DYNAPRINT_CHECK: 54,
|
|
3041
|
+
SECURITY_FEATURE_TYPE_LIVENESS_GEOMETRY_CHECK: 55,
|
|
3023
3042
|
}
|
|
3024
3043
|
|
|
3025
3044
|
export const OnlineMode = {
|
|
@@ -4116,6 +4135,9 @@ export const eVisualFieldType = {
|
|
|
4116
4135
|
FT_EF_CARD_ACCESS: 692,
|
|
4117
4136
|
FT_SHORT_FLIGHT_NUMBER: 693,
|
|
4118
4137
|
FT_AIRLINE_CODE: 694,
|
|
4138
|
+
FT_MVC_AGENCY: 695,
|
|
4139
|
+
FT_ISSUING_STATE_CODE_ALPHA2: 696,
|
|
4140
|
+
FT_NATIONALITY_CODE_ALPHA2: 697,
|
|
4119
4141
|
}
|
|
4120
4142
|
|
|
4121
4143
|
export const DocReaderOrientation = {
|
package/ios/RGLWConfig.m
CHANGED
|
@@ -183,6 +183,7 @@
|
|
|
183
183
|
if (options[@"selectLongestNames"]) processParams.selectLongestNames = options[@"selectLongestNames"];
|
|
184
184
|
if (options[@"generateDTCVC"]) processParams.generateDTCVC = options[@"generateDTCVC"];
|
|
185
185
|
if (options[@"strictDLCategoryExpiry"]) processParams.strictDLCategoryExpiry = options[@"strictDLCategoryExpiry"];
|
|
186
|
+
if (options[@"generateAlpha2Codes"]) processParams.generateAlpha2Codes = options[@"generateAlpha2Codes"];
|
|
186
187
|
|
|
187
188
|
// Int
|
|
188
189
|
if([options valueForKey:@"measureSystem"] != nil)
|
|
@@ -213,6 +214,7 @@
|
|
|
213
214
|
processParams.convertCase = [self textProcessingWithNumber:[options valueForKey:@"convertCase"]];
|
|
214
215
|
if(options[@"logLevel"]) processParams.logLevel = options[@"logLevel"];
|
|
215
216
|
if(options[@"mrzDetectMode"]) processParams.mrzDetectMode = options[@"mrzDetectMode"];
|
|
217
|
+
if(options[@"pdfPagesLimit"]) processParams.pdfPagesLimit = options[@"pdfPagesLimit"];
|
|
216
218
|
|
|
217
219
|
// String
|
|
218
220
|
if([options valueForKey:@"dateFormat"] != nil)
|
|
@@ -311,6 +313,7 @@
|
|
|
311
313
|
result[@"selectLongestNames"] = processParams.selectLongestNames;
|
|
312
314
|
result[@"generateDTCVC"] = processParams.generateDTCVC;
|
|
313
315
|
result[@"strictDLCategoryExpiry"] = processParams.strictDLCategoryExpiry;
|
|
316
|
+
result[@"generateAlpha2Codes"] = processParams.generateAlpha2Codes;
|
|
314
317
|
|
|
315
318
|
// Int
|
|
316
319
|
result[@"measureSystem"] = [NSNumber numberWithInteger:processParams.measureSystem];
|
|
@@ -328,6 +331,7 @@
|
|
|
328
331
|
result[@"convertCase"] = [self generateWithTextProcessing:processParams.convertCase];
|
|
329
332
|
result[@"logLevel"] = processParams.logLevel;
|
|
330
333
|
result[@"mrzDetectMode"] = processParams.mrzDetectMode;
|
|
334
|
+
result[@"pdfPagesLimit"] = processParams.pdfPagesLimit;
|
|
331
335
|
|
|
332
336
|
// String
|
|
333
337
|
result[@"dateFormat"] = processParams.dateFormat;
|
|
@@ -440,6 +444,9 @@
|
|
|
440
444
|
customization.cameraFrameCornerRadius = [[options valueForKey:@"cameraFrameCornerRadius"] floatValue];
|
|
441
445
|
if([options valueForKey:@"livenessAnimationPositionMultiplier"] != nil)
|
|
442
446
|
customization.livenessAnimationPositionMultiplier = [[options valueForKey:@"livenessAnimationPositionMultiplier"] floatValue];
|
|
447
|
+
if(options[@"activityIndicatorPortraitPositionMultiplier"]) customization.activityIndicatorPortraitPositionMultiplier = [[options valueForKey:@"activityIndicatorPortraitPositionMultiplier"] floatValue];
|
|
448
|
+
if(options[@"activityIndicatorLandscapePositionMultiplier"]) customization.activityIndicatorLandscapePositionMultiplier = [[options valueForKey:@"activityIndicatorLandscapePositionMultiplier"] floatValue];
|
|
449
|
+
if(options[@"cameraPreviewVerticalPositionMultiplier"]) customization.previewLayerPositionMultiplier = [[options valueForKey:@"cameraPreviewVerticalPositionMultiplier"] floatValue];
|
|
443
450
|
|
|
444
451
|
// Drawable
|
|
445
452
|
if([options valueForKey:@"multipageAnimationFrontImage"] != nil)
|
|
@@ -547,6 +554,9 @@
|
|
|
547
554
|
result[@"cameraFramePortraitAspectRatio"] = [NSNumber numberWithFloat:customization.cameraFramePortraitAspectRatio];
|
|
548
555
|
result[@"cameraFrameCornerRadius"] = [NSNumber numberWithFloat:customization.cameraFrameCornerRadius];
|
|
549
556
|
result[@"livenessAnimationPositionMultiplier"] = [NSNumber numberWithFloat:customization.livenessAnimationPositionMultiplier];
|
|
557
|
+
result[@"activityIndicatorPortraitPositionMultiplier"] = [NSNumber numberWithFloat:customization.activityIndicatorPortraitPositionMultiplier];
|
|
558
|
+
result[@"activityIndicatorLandscapePositionMultiplier"] = [NSNumber numberWithFloat:customization.activityIndicatorLandscapePositionMultiplier];
|
|
559
|
+
result[@"cameraPreviewVerticalPositionMultiplier"] = [NSNumber numberWithFloat:customization.previewLayerPositionMultiplier];
|
|
550
560
|
|
|
551
561
|
// Drawable
|
|
552
562
|
result[@"multipageAnimationFrontImage"] = [RGLWJSONConstructor base64WithImage:customization.multipageAnimationFrontImage];
|
|
@@ -694,6 +704,10 @@
|
|
|
694
704
|
if([options valueForKey:@"eSignPINNewValue"] != nil)
|
|
695
705
|
rfidScenario.eSignPINNewValue = [options valueForKey:@"eSignPINNewValue"];
|
|
696
706
|
if(options[@"cardAccess"]) rfidScenario.cardAccess = options[@"cardAccess"];
|
|
707
|
+
if(options[@"mrzHash"]) rfidScenario.mrzHash = options[@"mrzHash"];
|
|
708
|
+
if(options[@"documentNumber"]) rfidScenario.documentNumber = options[@"documentNumber"];
|
|
709
|
+
if(options[@"dateOfBirth"]) rfidScenario.dateOfBirth = options[@"dateOfBirth"];
|
|
710
|
+
if(options[@"dateOfExpiry"]) rfidScenario.dateOfExpiry = options[@"dateOfExpiry"];
|
|
697
711
|
|
|
698
712
|
// DataGroup
|
|
699
713
|
if([options valueForKey:@"ePassportDataGroups"] != nil)
|
|
@@ -767,6 +781,10 @@
|
|
|
767
781
|
result[@"eSignPINDefault"] = rfidScenario.eSignPINDefault;
|
|
768
782
|
result[@"eSignPINNewValue"] = rfidScenario.eSignPINNewValue;
|
|
769
783
|
result[@"cardAccess"] = rfidScenario.cardAccess;
|
|
784
|
+
result[@"mrzHash"] = rfidScenario.mrzHash;
|
|
785
|
+
result[@"documentNumber"] = rfidScenario.documentNumber;
|
|
786
|
+
result[@"dateOfBirth"] = rfidScenario.dateOfBirth;
|
|
787
|
+
result[@"dateOfExpiry"] = rfidScenario.dateOfExpiry;
|
|
770
788
|
|
|
771
789
|
// DataGroup
|
|
772
790
|
result[@"eDLDataGroups"] = [self getDataGroups:rfidScenario.eDLDataGroups];
|
|
@@ -1015,6 +1033,7 @@
|
|
|
1015
1033
|
result.checkED = [input valueForKey:@"checkED"];
|
|
1016
1034
|
if(input[@"checkBlackAndWhiteCopy"]) result.checkBlackAndWhiteCopy = input[@"checkBlackAndWhiteCopy"];
|
|
1017
1035
|
if(input[@"checkDynaprint"]) result.checkDynaprint = input[@"checkDynaprint"];
|
|
1036
|
+
if(input[@"checkGeometry"]) result.checkGeometry = input[@"checkGeometry"];
|
|
1018
1037
|
}
|
|
1019
1038
|
|
|
1020
1039
|
+(NSDictionary*)getLivenessParams:(RGLLivenessParams*)input {
|
|
@@ -1027,6 +1046,7 @@
|
|
|
1027
1046
|
result[@"checkED"] = input.checkED;
|
|
1028
1047
|
result[@"checkBlackAndWhiteCopy"] = input.checkBlackAndWhiteCopy;
|
|
1029
1048
|
result[@"checkDynaprint"] = input.checkDynaprint;
|
|
1049
|
+
result[@"checkGeometry"] = input.checkGeometry;
|
|
1030
1050
|
|
|
1031
1051
|
return result;
|
|
1032
1052
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@regulaforensics/react-native-document-reader-api",
|
|
3
|
-
"version": "8.1.
|
|
3
|
+
"version": "8.1.142-rc",
|
|
4
4
|
"description": "React Native module for reading and validation of identification documents (API framework)",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|