@regulaforensics/react-native-document-reader-api 7.4.735 → 7.5.85-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/README.md +1 -1
- package/RNDocumentReaderApi.podspec +2 -2
- package/android/build.gradle +2 -2
- package/android/src/main/java/com/regula/documentreader/BluetoothUtil.kt +105 -59
- package/android/src/main/java/com/regula/documentreader/Config.kt +63 -5
- package/android/src/main/java/com/regula/documentreader/JSONConstructor.kt +39 -14
- package/android/src/main/java/com/regula/documentreader/RNRegulaDocumentReaderModule.kt +75 -61
- package/android/src/main/java/com/regula/documentreader/Utils.kt +7 -2
- package/example/App.tsx +5 -0
- package/example/android/app/src/main/AndroidManifest.xml +1 -0
- package/example/android/gradle/wrapper/gradle-wrapper.properties +1 -1
- package/example/ios/DocumentReader/Info.plist +0 -2
- package/example/ios/DocumentReader.xcodeproj/project.pbxproj +4 -4
- package/example/ios/Podfile +2 -0
- package/example/package-lock.json +5794 -6178
- package/example/package.json +6 -7
- package/index.d.ts +113 -9
- package/index.js +81 -6
- package/ios/RGLWConfig.h +2 -0
- package/ios/RGLWConfig.m +103 -50
- package/ios/RGLWJSONConstructor.h +8 -0
- package/ios/RGLWJSONConstructor.m +77 -9
- package/ios/RNRegulaDocumentReader.h +4 -1
- package/ios/RNRegulaDocumentReader.m +71 -24
- package/package.json +2 -6
- package/.github/ISSUE_TEMPLATE/config.yml +0 -5
package/index.js
CHANGED
|
@@ -704,7 +704,7 @@ export class RegulaException {
|
|
|
704
704
|
if (jsonObject == null) return null
|
|
705
705
|
const result = new RegulaException()
|
|
706
706
|
|
|
707
|
-
result.
|
|
707
|
+
result.code = jsonObject["code"]
|
|
708
708
|
result.message = jsonObject["message"]
|
|
709
709
|
|
|
710
710
|
return result
|
|
@@ -995,9 +995,10 @@ export class OnlineProcessingConfig {
|
|
|
995
995
|
|
|
996
996
|
result.mode = jsonObject["mode"]
|
|
997
997
|
result.url = jsonObject["url"]
|
|
998
|
-
result.
|
|
998
|
+
result.processParams = ProcessParams.fromJson(jsonObject["processParams"])
|
|
999
999
|
result.imageFormat = jsonObject["imageFormat"]
|
|
1000
1000
|
result.imageCompressionQuality = jsonObject["imageCompressionQuality"]
|
|
1001
|
+
result.requestHeaders = jsonObject["requestHeaders"]
|
|
1001
1002
|
|
|
1002
1003
|
return result
|
|
1003
1004
|
}
|
|
@@ -1042,6 +1043,7 @@ export class RecognizeConfig {
|
|
|
1042
1043
|
result.scenario = jsonObject["scenario"]
|
|
1043
1044
|
result.onlineProcessingConfig = OnlineProcessingConfig.fromJson(jsonObject["onlineProcessingConfig"])
|
|
1044
1045
|
result.oneShotIdentification = jsonObject["oneShotIdentification"]
|
|
1046
|
+
result.dtc = jsonObject["dtc"]
|
|
1045
1047
|
result.livePortrait = jsonObject["livePortrait"]
|
|
1046
1048
|
result.extPortrait = jsonObject["extPortrait"]
|
|
1047
1049
|
result.image = jsonObject["image"]
|
|
@@ -1096,6 +1098,7 @@ export class TransactionInfo {
|
|
|
1096
1098
|
|
|
1097
1099
|
result.transactionId = jsonObject["transactionId"]
|
|
1098
1100
|
result.tag = jsonObject["tag"]
|
|
1101
|
+
result.sessionLogFolder = jsonObject["sessionLogFolder"]
|
|
1099
1102
|
|
|
1100
1103
|
return result
|
|
1101
1104
|
}
|
|
@@ -1213,6 +1216,7 @@ export class DocumentReaderResults {
|
|
|
1213
1216
|
result.documentType.push(DocumentReaderDocumentType.fromJson(jsonObject["documentType"][i]))
|
|
1214
1217
|
result.status = DocumentReaderResultsStatus.fromJson(jsonObject["status"])
|
|
1215
1218
|
result.vdsncData = VDSNCData.fromJson(jsonObject["vdsncData"])
|
|
1219
|
+
result.dtcData = jsonObject["dtcData"]
|
|
1216
1220
|
result.transactionInfo = TransactionInfo.fromJson(jsonObject["transactionInfo"])
|
|
1217
1221
|
|
|
1218
1222
|
return result
|
|
@@ -1252,6 +1256,7 @@ export class Functionality {
|
|
|
1252
1256
|
result.recordScanningProcess = jsonObject["recordScanningProcess"]
|
|
1253
1257
|
result.manualMultipageMode = jsonObject["manualMultipageMode"]
|
|
1254
1258
|
result.singleResult = jsonObject["singleResult"]
|
|
1259
|
+
result.torchTurnedOn = jsonObject["torchTurnedOn"]
|
|
1255
1260
|
result.showCaptureButtonDelayFromDetect = jsonObject["showCaptureButtonDelayFromDetect"]
|
|
1256
1261
|
result.showCaptureButtonDelayFromStart = jsonObject["showCaptureButtonDelayFromStart"]
|
|
1257
1262
|
result.rfidTimeout = jsonObject["rfidTimeout"]
|
|
@@ -1305,6 +1310,7 @@ export class ImageQA {
|
|
|
1305
1310
|
result.expectedPass.push(jsonObject["expectedPass"][i])
|
|
1306
1311
|
result.documentPositionIndent = jsonObject["documentPositionIndent"]
|
|
1307
1312
|
result.brightnessThreshold = jsonObject["brightnessThreshold"]
|
|
1313
|
+
result.occlusionCheck = jsonObject["occlusionCheck"]
|
|
1308
1314
|
|
|
1309
1315
|
return result
|
|
1310
1316
|
}
|
|
@@ -1366,6 +1372,7 @@ export class BackendProcessingConfig {
|
|
|
1366
1372
|
result.url = jsonObject["url"]
|
|
1367
1373
|
result.httpHeaders = jsonObject["httpHeaders"]
|
|
1368
1374
|
result.rfidServerSideChipVerification = jsonObject["rfidServerSideChipVerification"]
|
|
1375
|
+
result.timeoutConnection = jsonObject["timeoutConnection"]
|
|
1369
1376
|
|
|
1370
1377
|
return result
|
|
1371
1378
|
}
|
|
@@ -1380,6 +1387,8 @@ export class LivenessParams {
|
|
|
1380
1387
|
result.checkMLI = jsonObject["checkMLI"]
|
|
1381
1388
|
result.checkHolo = jsonObject["checkHolo"]
|
|
1382
1389
|
result.checkED = jsonObject["checkED"]
|
|
1390
|
+
result.checkBlackAndWhiteCopy = jsonObject["checkBlackAndWhiteCopy"]
|
|
1391
|
+
result.checkDynaprint = jsonObject["checkDynaprint"]
|
|
1383
1392
|
|
|
1384
1393
|
return result
|
|
1385
1394
|
}
|
|
@@ -1405,6 +1414,7 @@ export class AuthenticityParams {
|
|
|
1405
1414
|
result.checkPhotoEmbedding = jsonObject["checkPhotoEmbedding"]
|
|
1406
1415
|
result.checkPhotoComparison = jsonObject["checkPhotoComparison"]
|
|
1407
1416
|
result.checkLetterScreen = jsonObject["checkLetterScreen"]
|
|
1417
|
+
result.checkSecurityText = jsonObject["checkSecurityText"]
|
|
1408
1418
|
|
|
1409
1419
|
return result
|
|
1410
1420
|
}
|
|
@@ -1441,11 +1451,16 @@ export class ProcessParams {
|
|
|
1441
1451
|
result.shouldReturnPackageForReprocess = jsonObject["shouldReturnPackageForReprocess"]
|
|
1442
1452
|
result.disablePerforationOCR = jsonObject["disablePerforationOCR"]
|
|
1443
1453
|
result.respectImageQuality = jsonObject["respectImageQuality"]
|
|
1454
|
+
result.strictImageQuality = jsonObject["strictImageQuality"]
|
|
1444
1455
|
result.splitNames = jsonObject["splitNames"]
|
|
1445
1456
|
result.useFaceApi = jsonObject["useFaceApi"]
|
|
1446
1457
|
result.useAuthenticityCheck = jsonObject["useAuthenticityCheck"]
|
|
1447
1458
|
result.checkHologram = jsonObject["checkHologram"]
|
|
1448
1459
|
result.generateNumericCodes = jsonObject["generateNumericCodes"]
|
|
1460
|
+
result.strictBarcodeDigitalSignatureCheck = jsonObject["strictBarcodeDigitalSignatureCheck"]
|
|
1461
|
+
result.selectLongestNames = jsonObject["selectLongestNames"]
|
|
1462
|
+
result.generateDTCVC = jsonObject["generateDTCVC"]
|
|
1463
|
+
result.strictDLCategoryExpiry = jsonObject["strictDLCategoryExpiry"]
|
|
1449
1464
|
result.barcodeParserType = jsonObject["barcodeParserType"]
|
|
1450
1465
|
result.perspectiveAngle = jsonObject["perspectiveAngle"]
|
|
1451
1466
|
result.minDPI = jsonObject["minDPI"]
|
|
@@ -1464,7 +1479,6 @@ export class ProcessParams {
|
|
|
1464
1479
|
result.dateFormat = jsonObject["dateFormat"]
|
|
1465
1480
|
result.scenario = jsonObject["scenario"]
|
|
1466
1481
|
result.captureButtonScenario = jsonObject["captureButtonScenario"]
|
|
1467
|
-
result.sessionLogFolder = jsonObject["sessionLogFolder"]
|
|
1468
1482
|
result.timeout = jsonObject["timeout"]
|
|
1469
1483
|
result.timeoutFromFirstDetect = jsonObject["timeoutFromFirstDetect"]
|
|
1470
1484
|
result.timeoutFromFirstDocType = jsonObject["timeoutFromFirstDocType"]
|
|
@@ -1581,6 +1595,8 @@ export class Customization {
|
|
|
1581
1595
|
result.cameraFrameBorderWidth = jsonObject["cameraFrameBorderWidth"]
|
|
1582
1596
|
result.cameraFrameLineLength = jsonObject["cameraFrameLineLength"]
|
|
1583
1597
|
result.cameraFrameOffsetWidth = jsonObject["cameraFrameOffsetWidth"]
|
|
1598
|
+
result.nextPageAnimationStartDelay = jsonObject["nextPageAnimationStartDelay"]
|
|
1599
|
+
result.nextPageAnimationEndDelay = jsonObject["nextPageAnimationEndDelay"]
|
|
1584
1600
|
result.cameraFrameShapeType = jsonObject["cameraFrameShapeType"]
|
|
1585
1601
|
result.status = jsonObject["status"]
|
|
1586
1602
|
result.resultStatus = jsonObject["resultStatus"]
|
|
@@ -1594,6 +1610,7 @@ export class Customization {
|
|
|
1594
1610
|
result.activityIndicatorColor = jsonObject["activityIndicatorColor"]
|
|
1595
1611
|
result.statusBackgroundColor = jsonObject["statusBackgroundColor"]
|
|
1596
1612
|
result.cameraPreviewBackgroundColor = jsonObject["cameraPreviewBackgroundColor"]
|
|
1613
|
+
result.backgroundMaskColor = jsonObject["backgroundMaskColor"]
|
|
1597
1614
|
result.statusPositionMultiplier = jsonObject["statusPositionMultiplier"]
|
|
1598
1615
|
result.resultStatusPositionMultiplier = jsonObject["resultStatusPositionMultiplier"]
|
|
1599
1616
|
result.toolbarSize = jsonObject["toolbarSize"]
|
|
@@ -1735,6 +1752,21 @@ export class EIDDataGroups {
|
|
|
1735
1752
|
}
|
|
1736
1753
|
}
|
|
1737
1754
|
|
|
1755
|
+
export class DTCDataGroup {
|
|
1756
|
+
static fromJson(jsonObject) {
|
|
1757
|
+
if (jsonObject == null) return null
|
|
1758
|
+
const result = new DTCDataGroup()
|
|
1759
|
+
|
|
1760
|
+
result.DG17 = jsonObject["DG17"]
|
|
1761
|
+
result.DG18 = jsonObject["DG18"]
|
|
1762
|
+
result.DG22 = jsonObject["DG22"]
|
|
1763
|
+
result.DG23 = jsonObject["DG23"]
|
|
1764
|
+
result.DG24 = jsonObject["DG24"]
|
|
1765
|
+
|
|
1766
|
+
return result
|
|
1767
|
+
}
|
|
1768
|
+
}
|
|
1769
|
+
|
|
1738
1770
|
export class RFIDScenario {
|
|
1739
1771
|
static fromJson(jsonObject) {
|
|
1740
1772
|
if (jsonObject == null) return null
|
|
@@ -1774,6 +1806,10 @@ export class RFIDScenario {
|
|
|
1774
1806
|
result.applyAmendments = jsonObject["applyAmendments"]
|
|
1775
1807
|
result.autoSettings = jsonObject["autoSettings"]
|
|
1776
1808
|
result.proceedReadingAlways = jsonObject["proceedReadingAlways"]
|
|
1809
|
+
result.readDTC = jsonObject["readDTC"]
|
|
1810
|
+
result.mrzStrictCheck = jsonObject["mrzStrictCheck"]
|
|
1811
|
+
result.loadCRLFromRemote = jsonObject["loadCRLFromRemote"]
|
|
1812
|
+
result.independentSODStatus = jsonObject["independentSODStatus"]
|
|
1777
1813
|
result.readingBuffer = jsonObject["readingBuffer"]
|
|
1778
1814
|
result.onlineTAToSignDataType = jsonObject["onlineTAToSignDataType"]
|
|
1779
1815
|
result.defaultReadingBufferSize = jsonObject["defaultReadingBufferSize"]
|
|
@@ -1789,9 +1825,11 @@ export class RFIDScenario {
|
|
|
1789
1825
|
result.mrz = jsonObject["mrz"]
|
|
1790
1826
|
result.eSignPINDefault = jsonObject["eSignPINDefault"]
|
|
1791
1827
|
result.eSignPINNewValue = jsonObject["eSignPINNewValue"]
|
|
1828
|
+
result.cardAccess = jsonObject["cardAccess"]
|
|
1792
1829
|
result.eDLDataGroups = EDLDataGroups.fromJson(jsonObject["eDLDataGroups"])
|
|
1793
1830
|
result.ePassportDataGroups = EPassportDataGroups.fromJson(jsonObject["ePassportDataGroups"])
|
|
1794
1831
|
result.eIDDataGroups = EIDDataGroups.fromJson(jsonObject["eIDDataGroups"])
|
|
1832
|
+
result.dtcDataGroups = DTCDataGroup.fromJson(jsonObject["dtcDataGroups"])
|
|
1795
1833
|
|
|
1796
1834
|
return result
|
|
1797
1835
|
}
|
|
@@ -2164,6 +2202,7 @@ export const eRPRM_ResultType = {
|
|
|
2164
2202
|
RPRM_RESULT_TYPE_STATUS: 33,
|
|
2165
2203
|
RPRM_RESULT_TYPE_PORTRAIT_COMPARISON: 34,
|
|
2166
2204
|
RPRM_RESULT_TYPE_EXT_PORTRAIT: 35,
|
|
2205
|
+
RFID_RESULT_TYPE_RFID_DTC_VC: 109,
|
|
2167
2206
|
}
|
|
2168
2207
|
|
|
2169
2208
|
export const FrameShapeType = {
|
|
@@ -2294,6 +2333,7 @@ export const DocumentReaderErrorCodes = {
|
|
|
2294
2333
|
FINALIZE_FAILED: 28,
|
|
2295
2334
|
CAMERA_NO_PERMISSION: 29,
|
|
2296
2335
|
CAMERA_NOT_AVAILABLE: 30,
|
|
2336
|
+
CANNOT_USE_CAMERA_IN_SCENARIO: 40,
|
|
2297
2337
|
NATIVE_JAVA_EXCEPTION: 1000,
|
|
2298
2338
|
BACKEND_ONLINE_PROCESSING: 303,
|
|
2299
2339
|
WRONG_INPUT: 400,
|
|
@@ -2324,6 +2364,7 @@ export const ScenarioIdentifier = {
|
|
|
2324
2364
|
SCENARIO_OCR_FREE: "OcrFree",
|
|
2325
2365
|
SCENARIO_CREDIT_CARD: "CreditCard",
|
|
2326
2366
|
SCENARIO_CAPTURE: "Capture",
|
|
2367
|
+
SCENARIO_DTC: "DTC",
|
|
2327
2368
|
}
|
|
2328
2369
|
|
|
2329
2370
|
export const eRFID_AccessControl_ProcedureType = {
|
|
@@ -2411,6 +2452,7 @@ export const ViewContentMode = {
|
|
|
2411
2452
|
|
|
2412
2453
|
export const BarcodeResult = {
|
|
2413
2454
|
NO_ERR: 0,
|
|
2455
|
+
INVALID_RESULT: 140,
|
|
2414
2456
|
NULL_PTR_ERR: -6001,
|
|
2415
2457
|
BAD_ARG_ERR: -6002,
|
|
2416
2458
|
SIZE_ERR: -6003,
|
|
@@ -2442,6 +2484,17 @@ export const BarcodeResult = {
|
|
|
2442
2484
|
IPDECODE_ERROR_LOADING_DEV_TABLE: -4512,
|
|
2443
2485
|
}
|
|
2444
2486
|
|
|
2487
|
+
export const eRFID_Application_Type = {
|
|
2488
|
+
ePASSPORT: 1,
|
|
2489
|
+
eID: 2,
|
|
2490
|
+
eSIGN: 3,
|
|
2491
|
+
eDL: 4,
|
|
2492
|
+
LDS2_TRAVEL_RECORDS: 5,
|
|
2493
|
+
LDS2_VISA_RECORDS: 6,
|
|
2494
|
+
LDS2_ADD_BIOMETRICS: 7,
|
|
2495
|
+
eDTC_PC: 8,
|
|
2496
|
+
}
|
|
2497
|
+
|
|
2445
2498
|
export const eSignManagementAction = {
|
|
2446
2499
|
smaUndefined: 0,
|
|
2447
2500
|
smaCreatePIN: 1,
|
|
@@ -2495,12 +2548,15 @@ export const eCheckDiagnose = {
|
|
|
2495
2548
|
FALSE_LUMINISCENCE_IN_BLANK: 55,
|
|
2496
2549
|
BAD_AREA_IN_AXIAL: 60,
|
|
2497
2550
|
FALSE_IPI_PARAMETERS: 65,
|
|
2551
|
+
ENCRYPTED_IPI_NOT_FOUND: 66,
|
|
2552
|
+
ENCRYPTED_IPI_DATA_DONT_MATCH: 67,
|
|
2498
2553
|
FIELD_POS_CORRECTOR_HIGHLIGHT_IR: 80,
|
|
2499
2554
|
FIELD_POS_CORRECTOR_GLARES_IN_PHOTO_AREA: 81,
|
|
2500
2555
|
FIELD_POS_CORRECTOR_PHOTO_REPLACED: 82,
|
|
2501
2556
|
FIELD_POS_CORRECTOR_LANDMARKS_CHECK_ERROR: 83,
|
|
2502
2557
|
FIELD_POS_CORRECTOR_FACE_PRESENCE_CHECK_ERROR: 84,
|
|
2503
2558
|
FIELD_POS_CORRECTOR_FACE_ABSENCE_CHECK_ERROR: 85,
|
|
2559
|
+
CHD_FIELD_POS_CORRECTOR_INCORRECT_HEAD_POSITION: 86,
|
|
2504
2560
|
OVI_IR_INVISIBLE: 90,
|
|
2505
2561
|
OVI_INSUFFICIENT_AREA: 91,
|
|
2506
2562
|
OVI_COLOR_INVARIABLE: 92,
|
|
@@ -2535,6 +2591,7 @@ export const eCheckDiagnose = {
|
|
|
2535
2591
|
BARCODE_SIZE_PARAMS_ERROR: 142,
|
|
2536
2592
|
NOT_ALL_BARCODES_READ: 143,
|
|
2537
2593
|
GLARES_IN_BARCODE_AREA: 144,
|
|
2594
|
+
CHD_NO_CERTIFICATE_FOR_DIGITAL_SIGNATURE_CHECK: 145,
|
|
2538
2595
|
PORTRAIT_COMPARISON_PORTRAITS_DIFFER: 150,
|
|
2539
2596
|
PORTRAIT_COMPARISON_NO_SERVICE_REPLY: 151,
|
|
2540
2597
|
PORTRAIT_COMPARISON_SERVICE_ERROR: 152,
|
|
@@ -2564,6 +2621,8 @@ export const eCheckDiagnose = {
|
|
|
2564
2621
|
OCR_QUALITY_INVALID_FONT: 221,
|
|
2565
2622
|
OCR_QUALITY_INVALID_BACKGROUND: 222,
|
|
2566
2623
|
LAS_INK_INVALID_LINES_FREQUENCY: 230,
|
|
2624
|
+
DOC_LIVENESS_DOCUMENT_NOT_LIVE: 238,
|
|
2625
|
+
CHD_DOC_LIVENESS_BLACK_AND_WHITE_COPY_DETECTED: 239,
|
|
2567
2626
|
DOC_LIVENESS_ELECTRONIC_DEVICE_DETECTED: 240,
|
|
2568
2627
|
DOC_LIVENESS_INVALID_BARCODE_BACKGROUND: 241,
|
|
2569
2628
|
ICAO_IDB_BASE_32_ERROR: 243,
|
|
@@ -2871,6 +2930,7 @@ export const eImageQualityCheckType = {
|
|
|
2871
2930
|
IQC_PORTRAIT: 7,
|
|
2872
2931
|
IQC_HANDWRITTEN: 8,
|
|
2873
2932
|
IQC_BRIGHTNESS: 9,
|
|
2933
|
+
IQC_OCCLUSION: 10,
|
|
2874
2934
|
}
|
|
2875
2935
|
|
|
2876
2936
|
export const MRZFormat = {
|
|
@@ -2958,6 +3018,8 @@ export const eRPRM_SecurityFeatureType = {
|
|
|
2958
3018
|
SECURITY_FEATURE_TYPE_PORTRAIT_COMPARISON_BARCODE_VS_CAMERA: 49,
|
|
2959
3019
|
SECURITY_FEATURE_TYPE_CHECK_DIGITAL_SIGNATURE: 50,
|
|
2960
3020
|
SECURITY_FEATURE_TYPE_CONTACT_CHIP_CLASSIFICATION: 51,
|
|
3021
|
+
SECURITY_FEATURE_TYPE_HEAD_POSITION_CHECK: 52,
|
|
3022
|
+
SECURITY_FEATURE_TYPE_LIVENESS_BLACK_AND_WHITE_COPY_CHECK: 53,
|
|
2961
3023
|
}
|
|
2962
3024
|
|
|
2963
3025
|
export const OnlineMode = {
|
|
@@ -3338,6 +3400,11 @@ export const eRFID_DataFile_Type = {
|
|
|
3338
3400
|
DFT_PASSPORT_SOD: 21,
|
|
3339
3401
|
DFT_PASSPORT_CVCA: 22,
|
|
3340
3402
|
DFT_PASSPORT_COM: 23,
|
|
3403
|
+
DFT_DTC_DG17: 57,
|
|
3404
|
+
DFT_DTC_DG18: 58,
|
|
3405
|
+
DFT_DTC_DG22: 62,
|
|
3406
|
+
DFT_DTC_DG23: 63,
|
|
3407
|
+
DFT_DTC_DG24: 64,
|
|
3341
3408
|
DFT_ID_DG1: 101,
|
|
3342
3409
|
DFT_ID_DG2: 102,
|
|
3343
3410
|
DFT_ID_DG3: 103,
|
|
@@ -3691,6 +3758,9 @@ export const eVisualFieldType = {
|
|
|
3691
3758
|
FT_DOCUMENT_DISCRIMINATOR: 334,
|
|
3692
3759
|
FT_DATA_DISCRIMINATOR: 335,
|
|
3693
3760
|
FT_ISO_ISSUER_ID_NUMBER: 336,
|
|
3761
|
+
FT_DTC_VERSION: 337,
|
|
3762
|
+
FT_DTC_ID: 338,
|
|
3763
|
+
FT_DTC_DATE_OF_EXPIRY: 339,
|
|
3694
3764
|
FT_GNIB_NUMBER: 340,
|
|
3695
3765
|
FT_DEPT_NUMBER: 341,
|
|
3696
3766
|
FT_TELEX_CODE: 342,
|
|
@@ -4043,6 +4113,9 @@ export const eVisualFieldType = {
|
|
|
4043
4113
|
FT_METHOD_OF_TESTING: 689,
|
|
4044
4114
|
FT_DIGITAL_TRAVEL_AUTHORIZATION_NUMBER: 690,
|
|
4045
4115
|
FT_DATE_OF_FIRST_POSITIVE_TEST_RESULT: 691,
|
|
4116
|
+
FT_EF_CARD_ACCESS: 692,
|
|
4117
|
+
FT_SHORT_FLIGHT_NUMBER: 693,
|
|
4118
|
+
FT_AIRLINE_CODE: 694,
|
|
4046
4119
|
}
|
|
4047
4120
|
|
|
4048
4121
|
export const DocReaderOrientation = {
|
|
@@ -4276,6 +4349,7 @@ export const Enum = {
|
|
|
4276
4349
|
eRFID_Password_Type,
|
|
4277
4350
|
ViewContentMode,
|
|
4278
4351
|
BarcodeResult,
|
|
4352
|
+
eRFID_Application_Type,
|
|
4279
4353
|
eSignManagementAction,
|
|
4280
4354
|
eCheckDiagnose,
|
|
4281
4355
|
RFIDDelegate,
|
|
@@ -4318,8 +4392,6 @@ const DocumentReader = {}
|
|
|
4318
4392
|
|
|
4319
4393
|
DocumentReader.getDocumentReaderIsReady = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getDocumentReaderIsReady", [], successCallback, errorCallback)
|
|
4320
4394
|
DocumentReader.getDocumentReaderStatus = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getDocumentReaderStatus", [], successCallback, errorCallback)
|
|
4321
|
-
DocumentReader.isAuthenticatorAvailableForUse = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "isAuthenticatorAvailableForUse", [], successCallback, errorCallback)
|
|
4322
|
-
DocumentReader.isBlePermissionsGranted = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "isBlePermissionsGranted", [], successCallback, errorCallback)
|
|
4323
4395
|
DocumentReader.getRfidSessionStatus = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getRfidSessionStatus", [], successCallback, errorCallback)
|
|
4324
4396
|
DocumentReader.setRfidSessionStatus = (status, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "setRfidSessionStatus", [status], successCallback, errorCallback)
|
|
4325
4397
|
DocumentReader.getTag = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getTag", [], successCallback, errorCallback)
|
|
@@ -4359,14 +4431,17 @@ DocumentReader.setTCCParams = (params, successCallback, errorCallback) => RNRegu
|
|
|
4359
4431
|
DocumentReader.addPKDCertificates = (certificates, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "addPKDCertificates", [certificates], successCallback, errorCallback)
|
|
4360
4432
|
DocumentReader.clearPKDCertificates = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "clearPKDCertificates", [], successCallback, errorCallback)
|
|
4361
4433
|
DocumentReader.startNewSession = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "startNewSession", [], successCallback, errorCallback)
|
|
4362
|
-
DocumentReader.
|
|
4434
|
+
DocumentReader.connectBluetoothDevice = (btDeviceName, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "connectBluetoothDevice", [btDeviceName], successCallback, errorCallback)
|
|
4363
4435
|
DocumentReader.setLocalizationDictionary = (dictionary, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "setLocalizationDictionary", [dictionary], successCallback, errorCallback)
|
|
4364
4436
|
DocumentReader.getLicense = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getLicense", [], successCallback, errorCallback)
|
|
4365
4437
|
DocumentReader.getAvailableScenarios = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getAvailableScenarios", [], successCallback, errorCallback)
|
|
4366
4438
|
DocumentReader.getIsRFIDAvailableForUse = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getIsRFIDAvailableForUse", [], successCallback, errorCallback)
|
|
4439
|
+
DocumentReader.isAuthenticatorRFIDAvailableForUse = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "isAuthenticatorRFIDAvailableForUse", [], successCallback, errorCallback)
|
|
4440
|
+
DocumentReader.isAuthenticatorAvailableForUse = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "isAuthenticatorAvailableForUse", [], successCallback, errorCallback)
|
|
4367
4441
|
DocumentReader.getDocReaderVersion = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getDocReaderVersion", [], successCallback, errorCallback)
|
|
4368
4442
|
DocumentReader.getDocReaderDocumentsDatabase = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getDocReaderDocumentsDatabase", [], successCallback, errorCallback)
|
|
4369
4443
|
DocumentReader.finalizePackage = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "finalizePackage", [], successCallback, errorCallback)
|
|
4444
|
+
DocumentReader.endBackendTransaction = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "endBackendTransaction", [], successCallback, errorCallback)
|
|
4370
4445
|
DocumentReader.getTranslation = (className, value, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getTranslation", [className, value], successCallback, errorCallback)
|
|
4371
4446
|
|
|
4372
4447
|
export default DocumentReader
|
package/ios/RGLWConfig.h
CHANGED
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
+(void)setCustomization:(NSDictionary*)options :(RGLCustomization*)customization;
|
|
24
24
|
+(void)setRfidScenario:(NSDictionary*)options :(RGLRFIDScenario*)rfidScenario;
|
|
25
25
|
+(void)setDataGroups:(RGLDataGroup*)dataGroup dict:(NSDictionary*)dict;
|
|
26
|
+
+(void)setDTCDataGroup:(RGLDTCDataGroup*)dataGroup dict:(NSDictionary*)dict;
|
|
26
27
|
+(void)setImageQA:(RGLImageQA*)result input:(NSDictionary*)input;
|
|
27
28
|
+(void)setAuthenticityParams:(RGLAuthenticityParams*)result input:(NSDictionary*)input;
|
|
28
29
|
+(void)setLivenessParams:(RGLLivenessParams*)result input:(NSDictionary*)input;
|
|
@@ -32,6 +33,7 @@
|
|
|
32
33
|
+(NSDictionary*)getCustomization:(RGLCustomization*)customization;
|
|
33
34
|
+(NSDictionary*)getRfidScenario:(RGLRFIDScenario*)rfidScenario;
|
|
34
35
|
+(NSDictionary*)getDataGroups:(RGLDataGroup*)dataGroup;
|
|
36
|
+
+(NSDictionary*)getDTCDataGroup:(RGLDTCDataGroup*)dataGroup;
|
|
35
37
|
+(NSDictionary*)getImageQA:(RGLImageQA*)input;
|
|
36
38
|
+(NSDictionary*)getAuthenticityParams:(RGLAuthenticityParams*)input;
|
|
37
39
|
+(NSDictionary*)getLivenessParams:(RGLLivenessParams*)input;
|