@regulaforensics/react-native-document-reader-api 7.6.787-nightly → 8.1.68-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.
- package/RNDocumentReaderApi.podspec +2 -2
- package/android/build.gradle +1 -1
- package/android/src/main/java/com/regula/documentreader/BluetoothUtil.kt +16 -20
- package/android/src/main/java/com/regula/documentreader/Config.kt +40 -23
- package/android/src/main/java/com/regula/documentreader/JSONConstructor.kt +15 -4
- package/android/src/main/java/com/regula/documentreader/RNRegulaDocumentReaderModule.kt +52 -44
- package/example/android/gradle/wrapper/gradle-wrapper.properties +1 -1
- package/example/ios/DocumentReader.xcodeproj/project.pbxproj +4 -4
- package/example/ios/Podfile +2 -0
- package/example/package.json +2 -2
- package/index.d.ts +31 -40
- package/index.js +19 -21
- package/ios/RGLWConfig.h +2 -0
- package/ios/RGLWConfig.m +82 -67
- package/ios/RGLWJSONConstructor.h +7 -2
- package/ios/RGLWJSONConstructor.m +48 -11
- package/package.json +2 -6
- package/.github/ISSUE_TEMPLATE/config.yml +0 -5
package/index.d.ts
CHANGED
|
@@ -1477,6 +1477,7 @@ export class OnlineProcessingConfig {
|
|
|
1477
1477
|
processParams?: ProcessParams
|
|
1478
1478
|
imageFormat?: number
|
|
1479
1479
|
imageCompressionQuality?: number
|
|
1480
|
+
requestHeaders?: Record<string, string>
|
|
1480
1481
|
|
|
1481
1482
|
static fromJson(jsonObject?: any): OnlineProcessingConfig | undefined {
|
|
1482
1483
|
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
@@ -1487,6 +1488,7 @@ export class OnlineProcessingConfig {
|
|
|
1487
1488
|
result.processParams = ProcessParams.fromJson(jsonObject["processParams"])
|
|
1488
1489
|
result.imageFormat = jsonObject["imageFormat"]
|
|
1489
1490
|
result.imageCompressionQuality = jsonObject["imageCompressionQuality"]
|
|
1491
|
+
result.requestHeaders = jsonObject["requestHeaders"]
|
|
1490
1492
|
|
|
1491
1493
|
return result
|
|
1492
1494
|
}
|
|
@@ -1623,6 +1625,7 @@ export class DocReaderVersion {
|
|
|
1623
1625
|
export class TransactionInfo {
|
|
1624
1626
|
transactionId?: string
|
|
1625
1627
|
tag?: string
|
|
1628
|
+
sessionLogFolder?: string
|
|
1626
1629
|
|
|
1627
1630
|
static fromJson(jsonObject?: any): TransactionInfo | undefined {
|
|
1628
1631
|
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
@@ -1630,6 +1633,7 @@ export class TransactionInfo {
|
|
|
1630
1633
|
|
|
1631
1634
|
result.transactionId = jsonObject["transactionId"]
|
|
1632
1635
|
result.tag = jsonObject["tag"]
|
|
1636
|
+
result.sessionLogFolder = jsonObject["sessionLogFolder"]
|
|
1633
1637
|
|
|
1634
1638
|
return result
|
|
1635
1639
|
}
|
|
@@ -1821,6 +1825,7 @@ export class Functionality {
|
|
|
1821
1825
|
recordScanningProcess?: boolean
|
|
1822
1826
|
manualMultipageMode?: boolean
|
|
1823
1827
|
singleResult?: boolean
|
|
1828
|
+
torchTurnedOn?: boolean
|
|
1824
1829
|
showCaptureButtonDelayFromDetect?: number
|
|
1825
1830
|
showCaptureButtonDelayFromStart?: number
|
|
1826
1831
|
rfidTimeout?: number
|
|
@@ -1857,6 +1862,7 @@ export class Functionality {
|
|
|
1857
1862
|
result.recordScanningProcess = jsonObject["recordScanningProcess"]
|
|
1858
1863
|
result.manualMultipageMode = jsonObject["manualMultipageMode"]
|
|
1859
1864
|
result.singleResult = jsonObject["singleResult"]
|
|
1865
|
+
result.torchTurnedOn = jsonObject["torchTurnedOn"]
|
|
1860
1866
|
result.showCaptureButtonDelayFromDetect = jsonObject["showCaptureButtonDelayFromDetect"]
|
|
1861
1867
|
result.showCaptureButtonDelayFromStart = jsonObject["showCaptureButtonDelayFromStart"]
|
|
1862
1868
|
result.rfidTimeout = jsonObject["rfidTimeout"]
|
|
@@ -1908,6 +1914,7 @@ export class ImageQA {
|
|
|
1908
1914
|
expectedPass?: number[]
|
|
1909
1915
|
documentPositionIndent?: number
|
|
1910
1916
|
brightnessThreshold?: number
|
|
1917
|
+
occlusionCheck?: boolean
|
|
1911
1918
|
|
|
1912
1919
|
static fromJson(jsonObject?: any): ImageQA | undefined {
|
|
1913
1920
|
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
@@ -1928,6 +1935,7 @@ export class ImageQA {
|
|
|
1928
1935
|
}
|
|
1929
1936
|
result.documentPositionIndent = jsonObject["documentPositionIndent"]
|
|
1930
1937
|
result.brightnessThreshold = jsonObject["brightnessThreshold"]
|
|
1938
|
+
result.occlusionCheck = jsonObject["occlusionCheck"]
|
|
1931
1939
|
|
|
1932
1940
|
return result
|
|
1933
1941
|
}
|
|
@@ -2024,6 +2032,8 @@ export class LivenessParams {
|
|
|
2024
2032
|
checkMLI?: boolean
|
|
2025
2033
|
checkHolo?: boolean
|
|
2026
2034
|
checkED?: boolean
|
|
2035
|
+
checkBlackAndWhiteCopy?: boolean
|
|
2036
|
+
checkDynaprint?: boolean
|
|
2027
2037
|
|
|
2028
2038
|
static fromJson(jsonObject?: any): LivenessParams | undefined {
|
|
2029
2039
|
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
@@ -2033,6 +2043,8 @@ export class LivenessParams {
|
|
|
2033
2043
|
result.checkMLI = jsonObject["checkMLI"]
|
|
2034
2044
|
result.checkHolo = jsonObject["checkHolo"]
|
|
2035
2045
|
result.checkED = jsonObject["checkED"]
|
|
2046
|
+
result.checkBlackAndWhiteCopy = jsonObject["checkBlackAndWhiteCopy"]
|
|
2047
|
+
result.checkDynaprint = jsonObject["checkDynaprint"]
|
|
2036
2048
|
|
|
2037
2049
|
return result
|
|
2038
2050
|
}
|
|
@@ -2054,6 +2066,7 @@ export class AuthenticityParams {
|
|
|
2054
2066
|
checkPhotoEmbedding?: boolean
|
|
2055
2067
|
checkPhotoComparison?: boolean
|
|
2056
2068
|
checkLetterScreen?: boolean
|
|
2069
|
+
checkSecurityText?: boolean
|
|
2057
2070
|
|
|
2058
2071
|
static fromJson(jsonObject?: any): AuthenticityParams | undefined {
|
|
2059
2072
|
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
@@ -2074,6 +2087,7 @@ export class AuthenticityParams {
|
|
|
2074
2087
|
result.checkPhotoEmbedding = jsonObject["checkPhotoEmbedding"]
|
|
2075
2088
|
result.checkPhotoComparison = jsonObject["checkPhotoComparison"]
|
|
2076
2089
|
result.checkLetterScreen = jsonObject["checkLetterScreen"]
|
|
2090
|
+
result.checkSecurityText = jsonObject["checkSecurityText"]
|
|
2077
2091
|
|
|
2078
2092
|
return result
|
|
2079
2093
|
}
|
|
@@ -2115,6 +2129,7 @@ export class ProcessParams {
|
|
|
2115
2129
|
strictBarcodeDigitalSignatureCheck?: boolean
|
|
2116
2130
|
selectLongestNames?: boolean
|
|
2117
2131
|
generateDTCVC?: boolean
|
|
2132
|
+
strictDLCategoryExpiry?: boolean
|
|
2118
2133
|
barcodeParserType?: number
|
|
2119
2134
|
perspectiveAngle?: number
|
|
2120
2135
|
minDPI?: number
|
|
@@ -2133,7 +2148,6 @@ export class ProcessParams {
|
|
|
2133
2148
|
dateFormat?: string
|
|
2134
2149
|
scenario?: string
|
|
2135
2150
|
captureButtonScenario?: string
|
|
2136
|
-
sessionLogFolder?: string
|
|
2137
2151
|
timeout?: number
|
|
2138
2152
|
timeoutFromFirstDetect?: number
|
|
2139
2153
|
timeoutFromFirstDocType?: number
|
|
@@ -2193,6 +2207,7 @@ export class ProcessParams {
|
|
|
2193
2207
|
result.strictBarcodeDigitalSignatureCheck = jsonObject["strictBarcodeDigitalSignatureCheck"]
|
|
2194
2208
|
result.selectLongestNames = jsonObject["selectLongestNames"]
|
|
2195
2209
|
result.generateDTCVC = jsonObject["generateDTCVC"]
|
|
2210
|
+
result.strictDLCategoryExpiry = jsonObject["strictDLCategoryExpiry"]
|
|
2196
2211
|
result.barcodeParserType = jsonObject["barcodeParserType"]
|
|
2197
2212
|
result.perspectiveAngle = jsonObject["perspectiveAngle"]
|
|
2198
2213
|
result.minDPI = jsonObject["minDPI"]
|
|
@@ -2211,7 +2226,6 @@ export class ProcessParams {
|
|
|
2211
2226
|
result.dateFormat = jsonObject["dateFormat"]
|
|
2212
2227
|
result.scenario = jsonObject["scenario"]
|
|
2213
2228
|
result.captureButtonScenario = jsonObject["captureButtonScenario"]
|
|
2214
|
-
result.sessionLogFolder = jsonObject["sessionLogFolder"]
|
|
2215
2229
|
result.timeout = jsonObject["timeout"]
|
|
2216
2230
|
result.timeoutFromFirstDetect = jsonObject["timeoutFromFirstDetect"]
|
|
2217
2231
|
result.timeoutFromFirstDocType = jsonObject["timeoutFromFirstDocType"]
|
|
@@ -2649,49 +2663,17 @@ export class EIDDataGroups {
|
|
|
2649
2663
|
}
|
|
2650
2664
|
}
|
|
2651
2665
|
|
|
2652
|
-
export class
|
|
2653
|
-
DG1?: boolean
|
|
2654
|
-
DG2?: boolean
|
|
2655
|
-
DG3?: boolean
|
|
2656
|
-
DG4?: boolean
|
|
2657
|
-
DG5?: boolean
|
|
2658
|
-
DG6?: boolean
|
|
2659
|
-
DG7?: boolean
|
|
2660
|
-
DG8?: boolean
|
|
2661
|
-
DG9?: boolean
|
|
2662
|
-
DG10?: boolean
|
|
2663
|
-
DG11?: boolean
|
|
2664
|
-
DG12?: boolean
|
|
2665
|
-
DG13?: boolean
|
|
2666
|
-
DG14?: boolean
|
|
2667
|
-
DG15?: boolean
|
|
2668
|
-
DG16?: boolean
|
|
2666
|
+
export class DTCDataGroup {
|
|
2669
2667
|
DG17?: boolean
|
|
2670
2668
|
DG18?: boolean
|
|
2671
2669
|
DG22?: boolean
|
|
2672
2670
|
DG23?: boolean
|
|
2673
2671
|
DG24?: boolean
|
|
2674
2672
|
|
|
2675
|
-
static fromJson(jsonObject?: any):
|
|
2673
|
+
static fromJson(jsonObject?: any): DTCDataGroup | undefined {
|
|
2676
2674
|
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
2677
|
-
const result = new
|
|
2675
|
+
const result = new DTCDataGroup
|
|
2678
2676
|
|
|
2679
|
-
result.DG1 = jsonObject["DG1"]
|
|
2680
|
-
result.DG2 = jsonObject["DG2"]
|
|
2681
|
-
result.DG3 = jsonObject["DG3"]
|
|
2682
|
-
result.DG4 = jsonObject["DG4"]
|
|
2683
|
-
result.DG5 = jsonObject["DG5"]
|
|
2684
|
-
result.DG6 = jsonObject["DG6"]
|
|
2685
|
-
result.DG7 = jsonObject["DG7"]
|
|
2686
|
-
result.DG8 = jsonObject["DG8"]
|
|
2687
|
-
result.DG9 = jsonObject["DG9"]
|
|
2688
|
-
result.DG10 = jsonObject["DG10"]
|
|
2689
|
-
result.DG11 = jsonObject["DG11"]
|
|
2690
|
-
result.DG12 = jsonObject["DG12"]
|
|
2691
|
-
result.DG13 = jsonObject["DG13"]
|
|
2692
|
-
result.DG14 = jsonObject["DG14"]
|
|
2693
|
-
result.DG15 = jsonObject["DG15"]
|
|
2694
|
-
result.DG16 = jsonObject["DG16"]
|
|
2695
2677
|
result.DG17 = jsonObject["DG17"]
|
|
2696
2678
|
result.DG18 = jsonObject["DG18"]
|
|
2697
2679
|
result.DG22 = jsonObject["DG22"]
|
|
@@ -2739,6 +2721,8 @@ export class RFIDScenario {
|
|
|
2739
2721
|
proceedReadingAlways?: boolean
|
|
2740
2722
|
readDTC?: boolean
|
|
2741
2723
|
mrzStrictCheck?: boolean
|
|
2724
|
+
loadCRLFromRemote?: boolean
|
|
2725
|
+
independentSODStatus?: boolean
|
|
2742
2726
|
readingBuffer?: number
|
|
2743
2727
|
onlineTAToSignDataType?: number
|
|
2744
2728
|
defaultReadingBufferSize?: number
|
|
@@ -2758,7 +2742,7 @@ export class RFIDScenario {
|
|
|
2758
2742
|
eDLDataGroups?: EDLDataGroups
|
|
2759
2743
|
ePassportDataGroups?: EPassportDataGroups
|
|
2760
2744
|
eIDDataGroups?: EIDDataGroups
|
|
2761
|
-
dtcDataGroups?:
|
|
2745
|
+
dtcDataGroups?: DTCDataGroup
|
|
2762
2746
|
|
|
2763
2747
|
static fromJson(jsonObject?: any): RFIDScenario | undefined {
|
|
2764
2748
|
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
@@ -2800,6 +2784,8 @@ export class RFIDScenario {
|
|
|
2800
2784
|
result.proceedReadingAlways = jsonObject["proceedReadingAlways"]
|
|
2801
2785
|
result.readDTC = jsonObject["readDTC"]
|
|
2802
2786
|
result.mrzStrictCheck = jsonObject["mrzStrictCheck"]
|
|
2787
|
+
result.loadCRLFromRemote = jsonObject["loadCRLFromRemote"]
|
|
2788
|
+
result.independentSODStatus = jsonObject["independentSODStatus"]
|
|
2803
2789
|
result.readingBuffer = jsonObject["readingBuffer"]
|
|
2804
2790
|
result.onlineTAToSignDataType = jsonObject["onlineTAToSignDataType"]
|
|
2805
2791
|
result.defaultReadingBufferSize = jsonObject["defaultReadingBufferSize"]
|
|
@@ -2819,7 +2805,7 @@ export class RFIDScenario {
|
|
|
2819
2805
|
result.eDLDataGroups = EDLDataGroups.fromJson(jsonObject["eDLDataGroups"])
|
|
2820
2806
|
result.ePassportDataGroups = EPassportDataGroups.fromJson(jsonObject["ePassportDataGroups"])
|
|
2821
2807
|
result.eIDDataGroups = EIDDataGroups.fromJson(jsonObject["eIDDataGroups"])
|
|
2822
|
-
result.dtcDataGroups =
|
|
2808
|
+
result.dtcDataGroups = DTCDataGroup.fromJson(jsonObject["dtcDataGroups"])
|
|
2823
2809
|
|
|
2824
2810
|
return result
|
|
2825
2811
|
}
|
|
@@ -3444,6 +3430,7 @@ export const ViewContentMode = {
|
|
|
3444
3430
|
|
|
3445
3431
|
export const BarcodeResult = {
|
|
3446
3432
|
NO_ERR: 0,
|
|
3433
|
+
INVALID_RESULT: 140,
|
|
3447
3434
|
NULL_PTR_ERR: -6001,
|
|
3448
3435
|
BAD_ARG_ERR: -6002,
|
|
3449
3436
|
SIZE_ERR: -6003,
|
|
@@ -3612,6 +3599,7 @@ export const eCheckDiagnose = {
|
|
|
3612
3599
|
OCR_QUALITY_INVALID_FONT: 221,
|
|
3613
3600
|
OCR_QUALITY_INVALID_BACKGROUND: 222,
|
|
3614
3601
|
LAS_INK_INVALID_LINES_FREQUENCY: 230,
|
|
3602
|
+
DOC_LIVENESS_DOCUMENT_NOT_LIVE: 238,
|
|
3615
3603
|
CHD_DOC_LIVENESS_BLACK_AND_WHITE_COPY_DETECTED: 239,
|
|
3616
3604
|
DOC_LIVENESS_ELECTRONIC_DEVICE_DETECTED: 240,
|
|
3617
3605
|
DOC_LIVENESS_INVALID_BARCODE_BACKGROUND: 241,
|
|
@@ -3920,6 +3908,7 @@ export const eImageQualityCheckType = {
|
|
|
3920
3908
|
IQC_PORTRAIT: 7,
|
|
3921
3909
|
IQC_HANDWRITTEN: 8,
|
|
3922
3910
|
IQC_BRIGHTNESS: 9,
|
|
3911
|
+
IQC_OCCLUSION: 10,
|
|
3923
3912
|
}
|
|
3924
3913
|
|
|
3925
3914
|
export const MRZFormat = {
|
|
@@ -5103,6 +5092,8 @@ export const eVisualFieldType = {
|
|
|
5103
5092
|
FT_DIGITAL_TRAVEL_AUTHORIZATION_NUMBER: 690,
|
|
5104
5093
|
FT_DATE_OF_FIRST_POSITIVE_TEST_RESULT: 691,
|
|
5105
5094
|
FT_EF_CARD_ACCESS: 692,
|
|
5095
|
+
FT_SHORT_FLIGHT_NUMBER: 693,
|
|
5096
|
+
FT_AIRLINE_CODE: 694,
|
|
5106
5097
|
}
|
|
5107
5098
|
|
|
5108
5099
|
export const DocReaderOrientation = {
|
|
@@ -5417,7 +5408,7 @@ export default class DocumentReader {
|
|
|
5417
5408
|
static addPKDCertificates(certificates: PKDCertificate[], successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5418
5409
|
static clearPKDCertificates(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5419
5410
|
static startNewSession(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5420
|
-
static connectBluetoothDevice(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5411
|
+
static connectBluetoothDevice(btDeviceName: string, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5421
5412
|
static setLocalizationDictionary(dictionary: Record<string, string>, successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5422
5413
|
static getLicense(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
|
5423
5414
|
static getAvailableScenarios(successCallback: (response: string) => void, errorCallback?: (error: string) => void): void
|
package/index.js
CHANGED
|
@@ -998,6 +998,7 @@ export class OnlineProcessingConfig {
|
|
|
998
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
|
}
|
|
@@ -1097,6 +1098,7 @@ export class TransactionInfo {
|
|
|
1097
1098
|
|
|
1098
1099
|
result.transactionId = jsonObject["transactionId"]
|
|
1099
1100
|
result.tag = jsonObject["tag"]
|
|
1101
|
+
result.sessionLogFolder = jsonObject["sessionLogFolder"]
|
|
1100
1102
|
|
|
1101
1103
|
return result
|
|
1102
1104
|
}
|
|
@@ -1254,6 +1256,7 @@ export class Functionality {
|
|
|
1254
1256
|
result.recordScanningProcess = jsonObject["recordScanningProcess"]
|
|
1255
1257
|
result.manualMultipageMode = jsonObject["manualMultipageMode"]
|
|
1256
1258
|
result.singleResult = jsonObject["singleResult"]
|
|
1259
|
+
result.torchTurnedOn = jsonObject["torchTurnedOn"]
|
|
1257
1260
|
result.showCaptureButtonDelayFromDetect = jsonObject["showCaptureButtonDelayFromDetect"]
|
|
1258
1261
|
result.showCaptureButtonDelayFromStart = jsonObject["showCaptureButtonDelayFromStart"]
|
|
1259
1262
|
result.rfidTimeout = jsonObject["rfidTimeout"]
|
|
@@ -1307,6 +1310,7 @@ export class ImageQA {
|
|
|
1307
1310
|
result.expectedPass.push(jsonObject["expectedPass"][i])
|
|
1308
1311
|
result.documentPositionIndent = jsonObject["documentPositionIndent"]
|
|
1309
1312
|
result.brightnessThreshold = jsonObject["brightnessThreshold"]
|
|
1313
|
+
result.occlusionCheck = jsonObject["occlusionCheck"]
|
|
1310
1314
|
|
|
1311
1315
|
return result
|
|
1312
1316
|
}
|
|
@@ -1383,6 +1387,8 @@ export class LivenessParams {
|
|
|
1383
1387
|
result.checkMLI = jsonObject["checkMLI"]
|
|
1384
1388
|
result.checkHolo = jsonObject["checkHolo"]
|
|
1385
1389
|
result.checkED = jsonObject["checkED"]
|
|
1390
|
+
result.checkBlackAndWhiteCopy = jsonObject["checkBlackAndWhiteCopy"]
|
|
1391
|
+
result.checkDynaprint = jsonObject["checkDynaprint"]
|
|
1386
1392
|
|
|
1387
1393
|
return result
|
|
1388
1394
|
}
|
|
@@ -1408,6 +1414,7 @@ export class AuthenticityParams {
|
|
|
1408
1414
|
result.checkPhotoEmbedding = jsonObject["checkPhotoEmbedding"]
|
|
1409
1415
|
result.checkPhotoComparison = jsonObject["checkPhotoComparison"]
|
|
1410
1416
|
result.checkLetterScreen = jsonObject["checkLetterScreen"]
|
|
1417
|
+
result.checkSecurityText = jsonObject["checkSecurityText"]
|
|
1411
1418
|
|
|
1412
1419
|
return result
|
|
1413
1420
|
}
|
|
@@ -1453,6 +1460,7 @@ export class ProcessParams {
|
|
|
1453
1460
|
result.strictBarcodeDigitalSignatureCheck = jsonObject["strictBarcodeDigitalSignatureCheck"]
|
|
1454
1461
|
result.selectLongestNames = jsonObject["selectLongestNames"]
|
|
1455
1462
|
result.generateDTCVC = jsonObject["generateDTCVC"]
|
|
1463
|
+
result.strictDLCategoryExpiry = jsonObject["strictDLCategoryExpiry"]
|
|
1456
1464
|
result.barcodeParserType = jsonObject["barcodeParserType"]
|
|
1457
1465
|
result.perspectiveAngle = jsonObject["perspectiveAngle"]
|
|
1458
1466
|
result.minDPI = jsonObject["minDPI"]
|
|
@@ -1471,7 +1479,6 @@ export class ProcessParams {
|
|
|
1471
1479
|
result.dateFormat = jsonObject["dateFormat"]
|
|
1472
1480
|
result.scenario = jsonObject["scenario"]
|
|
1473
1481
|
result.captureButtonScenario = jsonObject["captureButtonScenario"]
|
|
1474
|
-
result.sessionLogFolder = jsonObject["sessionLogFolder"]
|
|
1475
1482
|
result.timeout = jsonObject["timeout"]
|
|
1476
1483
|
result.timeoutFromFirstDetect = jsonObject["timeoutFromFirstDetect"]
|
|
1477
1484
|
result.timeoutFromFirstDocType = jsonObject["timeoutFromFirstDocType"]
|
|
@@ -1745,27 +1752,11 @@ export class EIDDataGroups {
|
|
|
1745
1752
|
}
|
|
1746
1753
|
}
|
|
1747
1754
|
|
|
1748
|
-
export class
|
|
1755
|
+
export class DTCDataGroup {
|
|
1749
1756
|
static fromJson(jsonObject) {
|
|
1750
1757
|
if (jsonObject == null) return null
|
|
1751
|
-
const result = new
|
|
1758
|
+
const result = new DTCDataGroup()
|
|
1752
1759
|
|
|
1753
|
-
result.DG1 = jsonObject["DG1"]
|
|
1754
|
-
result.DG2 = jsonObject["DG2"]
|
|
1755
|
-
result.DG3 = jsonObject["DG3"]
|
|
1756
|
-
result.DG4 = jsonObject["DG4"]
|
|
1757
|
-
result.DG5 = jsonObject["DG5"]
|
|
1758
|
-
result.DG6 = jsonObject["DG6"]
|
|
1759
|
-
result.DG7 = jsonObject["DG7"]
|
|
1760
|
-
result.DG8 = jsonObject["DG8"]
|
|
1761
|
-
result.DG9 = jsonObject["DG9"]
|
|
1762
|
-
result.DG10 = jsonObject["DG10"]
|
|
1763
|
-
result.DG11 = jsonObject["DG11"]
|
|
1764
|
-
result.DG12 = jsonObject["DG12"]
|
|
1765
|
-
result.DG13 = jsonObject["DG13"]
|
|
1766
|
-
result.DG14 = jsonObject["DG14"]
|
|
1767
|
-
result.DG15 = jsonObject["DG15"]
|
|
1768
|
-
result.DG16 = jsonObject["DG16"]
|
|
1769
1760
|
result.DG17 = jsonObject["DG17"]
|
|
1770
1761
|
result.DG18 = jsonObject["DG18"]
|
|
1771
1762
|
result.DG22 = jsonObject["DG22"]
|
|
@@ -1817,6 +1808,8 @@ export class RFIDScenario {
|
|
|
1817
1808
|
result.proceedReadingAlways = jsonObject["proceedReadingAlways"]
|
|
1818
1809
|
result.readDTC = jsonObject["readDTC"]
|
|
1819
1810
|
result.mrzStrictCheck = jsonObject["mrzStrictCheck"]
|
|
1811
|
+
result.loadCRLFromRemote = jsonObject["loadCRLFromRemote"]
|
|
1812
|
+
result.independentSODStatus = jsonObject["independentSODStatus"]
|
|
1820
1813
|
result.readingBuffer = jsonObject["readingBuffer"]
|
|
1821
1814
|
result.onlineTAToSignDataType = jsonObject["onlineTAToSignDataType"]
|
|
1822
1815
|
result.defaultReadingBufferSize = jsonObject["defaultReadingBufferSize"]
|
|
@@ -1836,7 +1829,7 @@ export class RFIDScenario {
|
|
|
1836
1829
|
result.eDLDataGroups = EDLDataGroups.fromJson(jsonObject["eDLDataGroups"])
|
|
1837
1830
|
result.ePassportDataGroups = EPassportDataGroups.fromJson(jsonObject["ePassportDataGroups"])
|
|
1838
1831
|
result.eIDDataGroups = EIDDataGroups.fromJson(jsonObject["eIDDataGroups"])
|
|
1839
|
-
result.dtcDataGroups =
|
|
1832
|
+
result.dtcDataGroups = DTCDataGroup.fromJson(jsonObject["dtcDataGroups"])
|
|
1840
1833
|
|
|
1841
1834
|
return result
|
|
1842
1835
|
}
|
|
@@ -2459,6 +2452,7 @@ export const ViewContentMode = {
|
|
|
2459
2452
|
|
|
2460
2453
|
export const BarcodeResult = {
|
|
2461
2454
|
NO_ERR: 0,
|
|
2455
|
+
INVALID_RESULT: 140,
|
|
2462
2456
|
NULL_PTR_ERR: -6001,
|
|
2463
2457
|
BAD_ARG_ERR: -6002,
|
|
2464
2458
|
SIZE_ERR: -6003,
|
|
@@ -2627,6 +2621,7 @@ export const eCheckDiagnose = {
|
|
|
2627
2621
|
OCR_QUALITY_INVALID_FONT: 221,
|
|
2628
2622
|
OCR_QUALITY_INVALID_BACKGROUND: 222,
|
|
2629
2623
|
LAS_INK_INVALID_LINES_FREQUENCY: 230,
|
|
2624
|
+
DOC_LIVENESS_DOCUMENT_NOT_LIVE: 238,
|
|
2630
2625
|
CHD_DOC_LIVENESS_BLACK_AND_WHITE_COPY_DETECTED: 239,
|
|
2631
2626
|
DOC_LIVENESS_ELECTRONIC_DEVICE_DETECTED: 240,
|
|
2632
2627
|
DOC_LIVENESS_INVALID_BARCODE_BACKGROUND: 241,
|
|
@@ -2935,6 +2930,7 @@ export const eImageQualityCheckType = {
|
|
|
2935
2930
|
IQC_PORTRAIT: 7,
|
|
2936
2931
|
IQC_HANDWRITTEN: 8,
|
|
2937
2932
|
IQC_BRIGHTNESS: 9,
|
|
2933
|
+
IQC_OCCLUSION: 10,
|
|
2938
2934
|
}
|
|
2939
2935
|
|
|
2940
2936
|
export const MRZFormat = {
|
|
@@ -4118,6 +4114,8 @@ export const eVisualFieldType = {
|
|
|
4118
4114
|
FT_DIGITAL_TRAVEL_AUTHORIZATION_NUMBER: 690,
|
|
4119
4115
|
FT_DATE_OF_FIRST_POSITIVE_TEST_RESULT: 691,
|
|
4120
4116
|
FT_EF_CARD_ACCESS: 692,
|
|
4117
|
+
FT_SHORT_FLIGHT_NUMBER: 693,
|
|
4118
|
+
FT_AIRLINE_CODE: 694,
|
|
4121
4119
|
}
|
|
4122
4120
|
|
|
4123
4121
|
export const DocReaderOrientation = {
|
|
@@ -4433,7 +4431,7 @@ DocumentReader.setTCCParams = (params, successCallback, errorCallback) => RNRegu
|
|
|
4433
4431
|
DocumentReader.addPKDCertificates = (certificates, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "addPKDCertificates", [certificates], successCallback, errorCallback)
|
|
4434
4432
|
DocumentReader.clearPKDCertificates = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "clearPKDCertificates", [], successCallback, errorCallback)
|
|
4435
4433
|
DocumentReader.startNewSession = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "startNewSession", [], successCallback, errorCallback)
|
|
4436
|
-
DocumentReader.connectBluetoothDevice = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "connectBluetoothDevice", [], successCallback, errorCallback)
|
|
4434
|
+
DocumentReader.connectBluetoothDevice = (btDeviceName, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "connectBluetoothDevice", [btDeviceName], successCallback, errorCallback)
|
|
4437
4435
|
DocumentReader.setLocalizationDictionary = (dictionary, successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "setLocalizationDictionary", [dictionary], successCallback, errorCallback)
|
|
4438
4436
|
DocumentReader.getLicense = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getLicense", [], successCallback, errorCallback)
|
|
4439
4437
|
DocumentReader.getAvailableScenarios = (successCallback, errorCallback) => RNRegulaDocumentReader.exec("DocumentReader", "getAvailableScenarios", [], successCallback, errorCallback)
|
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;
|