@regulaforensics/document-reader 8.4.401-beta → 8.4.507-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/RNDocumentReader.podspec +2 -2
- package/android/build.gradle +2 -2
- package/android/cordova.gradle +2 -2
- package/android/src/main/java/com/regula/plugin/documentreader/Config.kt +11 -31
- package/android/src/main/java/com/regula/plugin/documentreader/JSONConstructor.kt +338 -59
- package/android/src/main/java/com/regula/plugin/documentreader/Main.kt +69 -35
- package/android/src/main/java/com/regula/plugin/documentreader/Utils.kt +62 -0
- package/examples/capacitor/ios/App/App/Info.plist +2 -0
- package/examples/capacitor/package-lock.json +9 -9
- package/examples/capacitor/package.json +3 -3
- package/examples/ionic/config.xml +2 -0
- package/examples/ionic/package-lock.json +5262 -2655
- package/examples/ionic/package.json +12 -12
- package/examples/react_native/app.config.ts +3 -1
- package/examples/react_native/package-lock.json +37 -37
- package/examples/react_native/package.json +3 -3
- package/ios/RGLWConfig.m +11 -32
- package/ios/RGLWJSONConstructor.h +19 -1
- package/ios/RGLWJSONConstructor.m +349 -18
- package/ios/RGLWMain.m +49 -46
- package/package.json +1 -1
- package/plugin.xml +2 -2
- package/test/json.tsx +201 -124
- package/test/package-lock.json +1 -1
- package/test/test.tsx +12 -3
- package/www/capacitor/engagement/DataRetrieval.js +55 -0
- package/www/capacitor/engagement/DeviceEngagement.js +30 -0
- package/www/capacitor/engagement/DeviceRetrievalMethod.js +41 -0
- package/www/capacitor/engagement/DocumentRequestMDL.js +212 -0
- package/www/capacitor/engagement/NameSpaceMDL.js +33 -0
- package/www/capacitor/index.js +58 -7
- package/www/capacitor/info/DocReaderException.js +2 -0
- package/www/capacitor/params/Functionality.js +16 -0
- package/www/capacitor/params/customization/Customization.js +8 -0
- package/www/capacitor/params/process_params/AuthenticityParams.js +1 -44
- package/www/capacitor/params/process_params/LivenessParams.js +0 -36
- package/www/capacitor/params/process_params/ProcessParams.js +26 -30
- package/www/capacitor/results/Results.js +8 -1
- package/www/capacitor/results/status/AgeStatus.js +35 -0
- package/www/capacitor/results/status/ResultsStatus.js +13 -0
- package/www/capacitor/results/visible_digital_seals/DocFeature.js +23 -0
- package/www/capacitor/results/visible_digital_seals/VDSData.js +75 -0
- package/www/capacitor/results/visual_results/FieldType.js +3 -0
- package/www/capacitor/rfid/PKDCertificate.js +3 -0
- package/www/cordova.js +1276 -683
- package/www/react-native/engagement/DataRetrieval.js +55 -0
- package/www/react-native/engagement/DeviceEngagement.js +30 -0
- package/www/react-native/engagement/DeviceRetrievalMethod.js +41 -0
- package/www/react-native/engagement/DocumentRequestMDL.js +212 -0
- package/www/react-native/engagement/NameSpaceMDL.js +33 -0
- package/www/react-native/index.js +58 -7
- package/www/react-native/info/DocReaderException.js +2 -0
- package/www/react-native/params/Functionality.js +16 -0
- package/www/react-native/params/customization/Customization.js +8 -0
- package/www/react-native/params/process_params/AuthenticityParams.js +1 -44
- package/www/react-native/params/process_params/LivenessParams.js +0 -36
- package/www/react-native/params/process_params/ProcessParams.js +26 -30
- package/www/react-native/results/Results.js +8 -1
- package/www/react-native/results/status/AgeStatus.js +35 -0
- package/www/react-native/results/status/ResultsStatus.js +13 -0
- package/www/react-native/results/visible_digital_seals/DocFeature.js +23 -0
- package/www/react-native/results/visible_digital_seals/VDSData.js +75 -0
- package/www/react-native/results/visual_results/FieldType.js +3 -0
- package/www/react-native/rfid/PKDCertificate.js +3 -0
- package/www/types/engagement/DataRetrieval.d.ts +28 -0
- package/www/types/engagement/DeviceEngagement.d.ts +16 -0
- package/www/types/engagement/DeviceRetrievalMethod.d.ts +18 -0
- package/www/types/engagement/DocumentRequestMDL.d.ts +61 -0
- package/www/types/engagement/NameSpaceMDL.d.ts +16 -0
- package/www/types/index.d.ts +40 -8
- package/www/types/info/DocReaderException.d.ts +2 -0
- package/www/types/params/Functionality.d.ts +7 -0
- package/www/types/params/customization/Customization.d.ts +5 -0
- package/www/types/params/process_params/AuthenticityParams.d.ts +0 -25
- package/www/types/params/process_params/LivenessParams.d.ts +0 -18
- package/www/types/params/process_params/ProcessParams.d.ts +18 -11
- package/www/types/results/Results.d.ts +9 -1
- package/www/types/results/status/AgeStatus.d.ts +14 -0
- package/www/types/results/status/ResultsStatus.d.ts +9 -0
- package/www/types/results/visible_digital_seals/DocFeature.d.ts +9 -0
- package/www/types/results/visible_digital_seals/VDSData.d.ts +32 -0
- package/www/types/results/visible_digital_seals/VDSNCData.d.ts +1 -1
- package/www/types/results/visual_results/FieldType.d.ts +6 -0
- package/www/types/rfid/PKDCertificate.d.ts +7 -1
- package/www/capacitor/params/process_params/FilterObject.js +0 -60
- package/www/react-native/params/process_params/FilterObject.js +0 -60
- package/www/types/params/process_params/FilterObject.d.ts +0 -32
|
@@ -6,21 +6,21 @@
|
|
|
6
6
|
"android": "scripts/android.sh"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@angular-devkit/build-angular": "^
|
|
10
|
-
"@angular/cli": "^
|
|
11
|
-
"@angular/common": "^
|
|
12
|
-
"@angular/compiler-cli": "^
|
|
13
|
-
"@angular/core": "^
|
|
14
|
-
"@angular/forms": "^
|
|
15
|
-
"@angular/platform-browser-dynamic": "^
|
|
16
|
-
"@angular/router": "^
|
|
9
|
+
"@angular-devkit/build-angular": "^21.0.1",
|
|
10
|
+
"@angular/cli": "^21.0.1",
|
|
11
|
+
"@angular/common": "^21.0.2",
|
|
12
|
+
"@angular/compiler-cli": "^21.0.2",
|
|
13
|
+
"@angular/core": "^21.0.2",
|
|
14
|
+
"@angular/forms": "^21.0.2",
|
|
15
|
+
"@angular/platform-browser-dynamic": "^21.0.2",
|
|
16
|
+
"@angular/router": "^21.0.2",
|
|
17
17
|
"@awesome-cordova-plugins/camera": "^8.1.0",
|
|
18
18
|
"@awesome-cordova-plugins/file": "^8.1.0",
|
|
19
|
-
"@ionic/angular": "^8.7.
|
|
19
|
+
"@ionic/angular": "^8.7.11",
|
|
20
20
|
"@ionic/cordova-builders": "^12.3.0",
|
|
21
|
-
"@regulaforensics/document-reader": "8.4.
|
|
22
|
-
"@regulaforensics/document-reader-core-fullauthrfid": "
|
|
23
|
-
"@regulaforensics/document-reader-btdevice": "8.4.
|
|
21
|
+
"@regulaforensics/document-reader": "8.4.507-rc",
|
|
22
|
+
"@regulaforensics/document-reader-core-fullauthrfid": "9.1.1281",
|
|
23
|
+
"@regulaforensics/document-reader-btdevice": "8.4.31",
|
|
24
24
|
"cordova-android": "^14.0.1",
|
|
25
25
|
"cordova-ios": "^7.1.1",
|
|
26
26
|
"cordova-plugin-camera": "^8.0.0",
|
|
@@ -20,7 +20,9 @@ export default ({ config }: ConfigContext): ExpoConfig => ({
|
|
|
20
20
|
'A0000002480100',
|
|
21
21
|
'A0000002480200',
|
|
22
22
|
'A0000002480300',
|
|
23
|
-
'
|
|
23
|
+
'A0000002480400',
|
|
24
|
+
'A00000045645444C2D3031',
|
|
25
|
+
'D2760000850101',
|
|
24
26
|
]
|
|
25
27
|
},
|
|
26
28
|
entitlements: { 'com.apple.developer.nfc.readersession.formats': ['TAG'] },
|
|
@@ -1588,9 +1588,9 @@
|
|
|
1588
1588
|
}
|
|
1589
1589
|
},
|
|
1590
1590
|
"node_modules/@expo/cli/node_modules/glob": {
|
|
1591
|
-
"version": "10.
|
|
1592
|
-
"resolved": "https://registry.npmjs.org/glob/-/glob-10.
|
|
1593
|
-
"integrity": "sha512-
|
|
1591
|
+
"version": "10.5.0",
|
|
1592
|
+
"resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz",
|
|
1593
|
+
"integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==",
|
|
1594
1594
|
"license": "ISC",
|
|
1595
1595
|
"dependencies": {
|
|
1596
1596
|
"foreground-child": "^3.1.0",
|
|
@@ -1673,9 +1673,9 @@
|
|
|
1673
1673
|
}
|
|
1674
1674
|
},
|
|
1675
1675
|
"node_modules/@expo/config-plugins/node_modules/glob": {
|
|
1676
|
-
"version": "10.
|
|
1677
|
-
"resolved": "https://registry.npmjs.org/glob/-/glob-10.
|
|
1678
|
-
"integrity": "sha512-
|
|
1676
|
+
"version": "10.5.0",
|
|
1677
|
+
"resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz",
|
|
1678
|
+
"integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==",
|
|
1679
1679
|
"license": "ISC",
|
|
1680
1680
|
"dependencies": {
|
|
1681
1681
|
"foreground-child": "^3.1.0",
|
|
@@ -1720,9 +1720,9 @@
|
|
|
1720
1720
|
}
|
|
1721
1721
|
},
|
|
1722
1722
|
"node_modules/@expo/config/node_modules/glob": {
|
|
1723
|
-
"version": "10.
|
|
1724
|
-
"resolved": "https://registry.npmjs.org/glob/-/glob-10.
|
|
1725
|
-
"integrity": "sha512-
|
|
1723
|
+
"version": "10.5.0",
|
|
1724
|
+
"resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz",
|
|
1725
|
+
"integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==",
|
|
1726
1726
|
"license": "ISC",
|
|
1727
1727
|
"dependencies": {
|
|
1728
1728
|
"foreground-child": "^3.1.0",
|
|
@@ -1772,9 +1772,9 @@
|
|
|
1772
1772
|
}
|
|
1773
1773
|
},
|
|
1774
1774
|
"node_modules/@expo/devcert/node_modules/glob": {
|
|
1775
|
-
"version": "10.
|
|
1776
|
-
"resolved": "https://registry.npmjs.org/glob/-/glob-10.
|
|
1777
|
-
"integrity": "sha512-
|
|
1775
|
+
"version": "10.5.0",
|
|
1776
|
+
"resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz",
|
|
1777
|
+
"integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==",
|
|
1778
1778
|
"license": "ISC",
|
|
1779
1779
|
"dependencies": {
|
|
1780
1780
|
"foreground-child": "^3.1.0",
|
|
@@ -1848,9 +1848,9 @@
|
|
|
1848
1848
|
}
|
|
1849
1849
|
},
|
|
1850
1850
|
"node_modules/@expo/fingerprint/node_modules/glob": {
|
|
1851
|
-
"version": "10.
|
|
1852
|
-
"resolved": "https://registry.npmjs.org/glob/-/glob-10.
|
|
1853
|
-
"integrity": "sha512-
|
|
1851
|
+
"version": "10.5.0",
|
|
1852
|
+
"resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz",
|
|
1853
|
+
"integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==",
|
|
1854
1854
|
"license": "ISC",
|
|
1855
1855
|
"dependencies": {
|
|
1856
1856
|
"foreground-child": "^3.1.0",
|
|
@@ -2005,9 +2005,9 @@
|
|
|
2005
2005
|
}
|
|
2006
2006
|
},
|
|
2007
2007
|
"node_modules/@expo/metro-config/node_modules/glob": {
|
|
2008
|
-
"version": "10.
|
|
2009
|
-
"resolved": "https://registry.npmjs.org/glob/-/glob-10.
|
|
2010
|
-
"integrity": "sha512-
|
|
2008
|
+
"version": "10.5.0",
|
|
2009
|
+
"resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz",
|
|
2010
|
+
"integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==",
|
|
2011
2011
|
"license": "ISC",
|
|
2012
2012
|
"dependencies": {
|
|
2013
2013
|
"foreground-child": "^3.1.0",
|
|
@@ -2363,9 +2363,9 @@
|
|
|
2363
2363
|
}
|
|
2364
2364
|
},
|
|
2365
2365
|
"node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml": {
|
|
2366
|
-
"version": "3.14.
|
|
2367
|
-
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.
|
|
2368
|
-
"integrity": "sha512-
|
|
2366
|
+
"version": "3.14.2",
|
|
2367
|
+
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.2.tgz",
|
|
2368
|
+
"integrity": "sha512-PMSmkqxr106Xa156c2M265Z+FTrPl+oxd/rgOQy2tijQeK5TxQ43psO1ZCwhVOSdnn+RzkzlRz/eY4BgJBYVpg==",
|
|
2369
2369
|
"license": "MIT",
|
|
2370
2370
|
"dependencies": {
|
|
2371
2371
|
"argparse": "^1.0.7",
|
|
@@ -4421,9 +4421,9 @@
|
|
|
4421
4421
|
}
|
|
4422
4422
|
},
|
|
4423
4423
|
"node_modules/expo-modules-autolinking/node_modules/glob": {
|
|
4424
|
-
"version": "10.
|
|
4425
|
-
"resolved": "https://registry.npmjs.org/glob/-/glob-10.
|
|
4426
|
-
"integrity": "sha512-
|
|
4424
|
+
"version": "10.5.0",
|
|
4425
|
+
"resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz",
|
|
4426
|
+
"integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==",
|
|
4427
4427
|
"license": "ISC",
|
|
4428
4428
|
"dependencies": {
|
|
4429
4429
|
"foreground-child": "^3.1.0",
|
|
@@ -5239,9 +5239,9 @@
|
|
|
5239
5239
|
"license": "MIT"
|
|
5240
5240
|
},
|
|
5241
5241
|
"node_modules/js-yaml": {
|
|
5242
|
-
"version": "4.1.
|
|
5243
|
-
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.
|
|
5244
|
-
"integrity": "sha512-
|
|
5242
|
+
"version": "4.1.1",
|
|
5243
|
+
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz",
|
|
5244
|
+
"integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==",
|
|
5245
5245
|
"license": "MIT",
|
|
5246
5246
|
"dependencies": {
|
|
5247
5247
|
"argparse": "^2.0.1"
|
|
@@ -6596,9 +6596,9 @@
|
|
|
6596
6596
|
"license": "MIT"
|
|
6597
6597
|
},
|
|
6598
6598
|
"node_modules/node-forge": {
|
|
6599
|
-
"version": "1.3.
|
|
6600
|
-
"resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.3.
|
|
6601
|
-
"integrity": "sha512-
|
|
6599
|
+
"version": "1.3.2",
|
|
6600
|
+
"resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.3.2.tgz",
|
|
6601
|
+
"integrity": "sha512-6xKiQ+cph9KImrRh0VsjH2d8/GXA4FIMlgU4B757iI1ApvcyA9VlouP0yZJha01V+huImO+kKMU7ih+2+E14fw==",
|
|
6602
6602
|
"license": "(BSD-3-Clause OR GPL-2.0)",
|
|
6603
6603
|
"engines": {
|
|
6604
6604
|
"node": ">= 6.13.0"
|
|
@@ -8059,9 +8059,9 @@
|
|
|
8059
8059
|
}
|
|
8060
8060
|
},
|
|
8061
8061
|
"node_modules/sucrase/node_modules/glob": {
|
|
8062
|
-
"version": "10.
|
|
8063
|
-
"resolved": "https://registry.npmjs.org/glob/-/glob-10.
|
|
8064
|
-
"integrity": "sha512-
|
|
8062
|
+
"version": "10.5.0",
|
|
8063
|
+
"resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz",
|
|
8064
|
+
"integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==",
|
|
8065
8065
|
"license": "ISC",
|
|
8066
8066
|
"dependencies": {
|
|
8067
8067
|
"foreground-child": "^3.1.0",
|
|
@@ -8116,10 +8116,10 @@
|
|
|
8116
8116
|
}
|
|
8117
8117
|
},
|
|
8118
8118
|
"node_modules/tar": {
|
|
8119
|
-
"version": "7.5.
|
|
8120
|
-
"resolved": "https://registry.npmjs.org/tar/-/tar-7.5.
|
|
8121
|
-
"integrity": "sha512-
|
|
8122
|
-
"license": "
|
|
8119
|
+
"version": "7.5.2",
|
|
8120
|
+
"resolved": "https://registry.npmjs.org/tar/-/tar-7.5.2.tgz",
|
|
8121
|
+
"integrity": "sha512-7NyxrTE4Anh8km8iEy7o0QYPs+0JKBTj5ZaqHg6B39erLg0qYXN3BijtShwbsNSvQ+LN75+KV+C4QR/f6Gwnpg==",
|
|
8122
|
+
"license": "BlueOak-1.0.0",
|
|
8123
8123
|
"dependencies": {
|
|
8124
8124
|
"@isaacs/fs-minipass": "^4.0.0",
|
|
8125
8125
|
"chownr": "^3.0.0",
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
"start": "expo start"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@regulaforensics/document-reader": "8.4.
|
|
12
|
-
"@regulaforensics/document-reader-core-fullauthrfid": "
|
|
13
|
-
"@regulaforensics/document-reader-btdevice": "8.4.
|
|
11
|
+
"@regulaforensics/document-reader": "8.4.507-rc",
|
|
12
|
+
"@regulaforensics/document-reader-core-fullauthrfid": "9.1.1281",
|
|
13
|
+
"@regulaforensics/document-reader-btdevice": "8.4.31",
|
|
14
14
|
"react-native": "^0.81.4",
|
|
15
15
|
"react-native-fs": "^2.20.0",
|
|
16
16
|
"react-native-image-picker": "^8.2.1",
|
package/ios/RGLWConfig.m
CHANGED
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
functionality.singleResult = [[options valueForKey:@"singleResult"] boolValue];
|
|
36
36
|
if(options[@"torchTurnedOn"]) functionality.torchTurnedOn = [options[@"torchTurnedOn"] boolValue];
|
|
37
37
|
if(options[@"preventScreenRecording"]) functionality.preventScreenRecording = [options[@"preventScreenRecording"] boolValue];
|
|
38
|
+
if(options[@"homeIndicatorAutoHide"]) functionality.homeIndicatorAutoHide = [options[@"homeIndicatorAutoHide"] boolValue];
|
|
38
39
|
|
|
39
40
|
// Int
|
|
40
41
|
if([options valueForKey:@"showCaptureButtonDelayFromDetect"] != nil)
|
|
@@ -61,6 +62,7 @@
|
|
|
61
62
|
// Float
|
|
62
63
|
if([options valueForKey:@"zoomFactor"] != nil)
|
|
63
64
|
functionality.zoomFactor = [[options valueForKey:@"zoomFactor"] floatValue];
|
|
65
|
+
if(options[@"mdlTimeout"]) functionality.mDLTimeout = [options[@"mdlTimeout"] doubleValue];
|
|
64
66
|
|
|
65
67
|
// Custom
|
|
66
68
|
// in android - cameraSize
|
|
@@ -90,6 +92,7 @@
|
|
|
90
92
|
result[@"singleResult"] = [NSNumber numberWithBool:functionality.singleResult];
|
|
91
93
|
result[@"torchTurnedOn"] = @(functionality.torchTurnedOn);
|
|
92
94
|
result[@"preventScreenRecording"] = @(functionality.preventScreenRecording);
|
|
95
|
+
result[@"homeIndicatorAutoHide"] = @(functionality.homeIndicatorAutoHide);
|
|
93
96
|
|
|
94
97
|
// Int
|
|
95
98
|
result[@"showCaptureButtonDelayFromDetect"] = [NSNumber numberWithDouble:functionality.showCaptureButtonDelayFromDetect];
|
|
@@ -107,6 +110,7 @@
|
|
|
107
110
|
|
|
108
111
|
// Float
|
|
109
112
|
result[@"zoomFactor"] = [NSNumber numberWithFloat:functionality.zoomFactor];
|
|
113
|
+
result[@"mdlTimeout"] = @(functionality.mDLTimeout);
|
|
110
114
|
|
|
111
115
|
// Custom
|
|
112
116
|
// in android - cameraSize
|
|
@@ -188,6 +192,7 @@
|
|
|
188
192
|
if (options[@"generateAlpha2Codes"]) processParams.generateAlpha2Codes = options[@"generateAlpha2Codes"];
|
|
189
193
|
if (options[@"disableAuthResolutionFilter"]) processParams.disableAuthResolutionFilter = options[@"disableAuthResolutionFilter"];
|
|
190
194
|
if (options[@"strictSecurityChecks"]) processParams.strictSecurityChecks = options[@"strictSecurityChecks"];
|
|
195
|
+
if (options[@"returnTransliteratedFields"]) processParams.returnTransliteratedFields = options[@"returnTransliteratedFields"];
|
|
191
196
|
|
|
192
197
|
// Int
|
|
193
198
|
if([options valueForKey:@"measureSystem"] != nil)
|
|
@@ -255,8 +260,8 @@
|
|
|
255
260
|
processParams.documentGroupFilter = [options mutableArrayValueForKey:@"documentGroupFilter"];
|
|
256
261
|
if([options valueForKey:@"lcidIgnoreFilter"] != nil)
|
|
257
262
|
processParams.lcidIgnoreFilter = [options mutableArrayValueForKey:@"lcidIgnoreFilter"];
|
|
258
|
-
if([
|
|
259
|
-
|
|
263
|
+
if (options[@"lcidFilter"]) processParams.lcidFilter = options[@"lcidFilter"];
|
|
264
|
+
if (options[@"fieldTypesIgnoreFilter"]) processParams.fieldTypesIgnoreFilter = options[@"fieldTypesIgnoreFilter"];
|
|
260
265
|
|
|
261
266
|
// JSONObject
|
|
262
267
|
if (options[@"customParams"]) processParams.customParams = options[@"customParams"];
|
|
@@ -272,16 +277,6 @@
|
|
|
272
277
|
if(processParams.authenticityParams == nil) processParams.authenticityParams = [RGLAuthenticityParams defaultParams];
|
|
273
278
|
[self setAuthenticityParams:processParams.authenticityParams input:[options valueForKey:@"authenticityParams"]];
|
|
274
279
|
}
|
|
275
|
-
|
|
276
|
-
if (options[@"setCheckFilter"]) [processParams
|
|
277
|
-
addFilter:[RGLWJSONConstructor filterObjectFromJson: options[@"setCheckFilter"][@"filterObject"]] forCheckType:options[@"setCheckFilter"][@"checkType"]];
|
|
278
|
-
if (options[@"removeCheckFilter"]) [processParams removeFilterForCheckType: options[@"removeCheckFilter"]];
|
|
279
|
-
if (options[@"clearCheckFilter"]) [processParams clearCheckFilter];
|
|
280
|
-
if (options[@"checkFilters"]) {
|
|
281
|
-
[processParams clearCheckFilter];
|
|
282
|
-
for (NSString* key in options[@"checkFilters"])
|
|
283
|
-
[processParams addFilter:[RGLWJSONConstructor filterObjectFromJson: options[@"checkFilters"][key]] forCheckType: key];
|
|
284
|
-
}
|
|
285
280
|
}
|
|
286
281
|
|
|
287
282
|
+(NSDictionary*)getProcessParams:(RGLProcessParams*)processParams {
|
|
@@ -327,6 +322,7 @@
|
|
|
327
322
|
result[@"generateAlpha2Codes"] = processParams.generateAlpha2Codes;
|
|
328
323
|
result[@"disableAuthResolutionFilter"] = processParams.disableAuthResolutionFilter;
|
|
329
324
|
result[@"strictSecurityChecks"] = processParams.strictSecurityChecks;
|
|
325
|
+
result[@"returnTransliteratedFields"] = processParams.returnTransliteratedFields;
|
|
330
326
|
|
|
331
327
|
// Int
|
|
332
328
|
result[@"measureSystem"] = [NSNumber numberWithInteger:processParams.measureSystem];
|
|
@@ -365,6 +361,7 @@
|
|
|
365
361
|
result[@"documentGroupFilter"] = processParams.documentGroupFilter;
|
|
366
362
|
result[@"lcidIgnoreFilter"] = processParams.lcidIgnoreFilter;
|
|
367
363
|
result[@"lcidFilter"] = processParams.lcidFilter;
|
|
364
|
+
result[@"fieldTypesIgnoreFilter"] = processParams.fieldTypesIgnoreFilter;
|
|
368
365
|
result[@"mrzFormatsFilter"] = processParams.mrzFormatsFilter;
|
|
369
366
|
result[@"resultTypeOutput"] = processParams.resultTypeOutput;
|
|
370
367
|
|
|
@@ -462,6 +459,7 @@
|
|
|
462
459
|
if(options[@"activityIndicatorPortraitPositionMultiplier"]) customization.activityIndicatorPortraitPositionMultiplier = [options[@"activityIndicatorPortraitPositionMultiplier"] floatValue];
|
|
463
460
|
if(options[@"activityIndicatorLandscapePositionMultiplier"]) customization.activityIndicatorLandscapePositionMultiplier = [options[@"activityIndicatorLandscapePositionMultiplier"] floatValue];
|
|
464
461
|
if(options[@"cameraPreviewVerticalPositionMultiplier"]) customization.previewLayerPositionMultiplier = [options[@"cameraPreviewVerticalPositionMultiplier"] floatValue];
|
|
462
|
+
if(options[@"multipageButtonPositionMultiplier"]) customization.multipageButtonPositionMultiplier = [options[@"multipageButtonPositionMultiplier"] floatValue];
|
|
465
463
|
|
|
466
464
|
// Drawable
|
|
467
465
|
if([options valueForKey:@"multipageAnimationFrontImage"] != nil)
|
|
@@ -576,6 +574,7 @@
|
|
|
576
574
|
result[@"activityIndicatorPortraitPositionMultiplier"] = [NSNumber numberWithFloat:customization.activityIndicatorPortraitPositionMultiplier];
|
|
577
575
|
result[@"activityIndicatorLandscapePositionMultiplier"] = [NSNumber numberWithFloat:customization.activityIndicatorLandscapePositionMultiplier];
|
|
578
576
|
result[@"cameraPreviewVerticalPositionMultiplier"] = [NSNumber numberWithFloat:customization.previewLayerPositionMultiplier];
|
|
577
|
+
result[@"multipageButtonPositionMultiplier"] = [NSNumber numberWithFloat:customization.multipageButtonPositionMultiplier];
|
|
579
578
|
|
|
580
579
|
// Drawable
|
|
581
580
|
result[@"multipageAnimationFrontImage"] = [RGLWJSONConstructor base64WithImage:customization.multipageAnimationFrontImage];
|
|
@@ -1017,16 +1016,6 @@
|
|
|
1017
1016
|
if([input valueForKey:@"checkLetterScreen"] != nil)
|
|
1018
1017
|
result.checkLetterScreen = [input valueForKey:@"checkLetterScreen"];
|
|
1019
1018
|
if(input[@"checkSecurityText"]) result.checkSecurityText = input[@"checkSecurityText"];
|
|
1020
|
-
|
|
1021
|
-
if (input[@"setCheckFilter"]) [result
|
|
1022
|
-
addFilter:[RGLWJSONConstructor filterObjectFromJson: input[@"setCheckFilter"][@"filterObject"]] forCheckType:input[@"setCheckFilter"][@"checkType"]];
|
|
1023
|
-
if (input[@"removeCheckFilter"]) [result removeFilterForCheckType: input[@"removeCheckFilter"]];
|
|
1024
|
-
if (input[@"clearCheckFilter"]) [result clearCheckFilter];
|
|
1025
|
-
if (input[@"checkFilters"]) {
|
|
1026
|
-
[result clearCheckFilter];
|
|
1027
|
-
for (NSString* key in input[@"checkFilters"])
|
|
1028
|
-
[result addFilter:[RGLWJSONConstructor filterObjectFromJson: input[@"checkFilters"][key]] forCheckType: key];
|
|
1029
|
-
}
|
|
1030
1019
|
}
|
|
1031
1020
|
|
|
1032
1021
|
+(NSDictionary*)getAuthenticityParams:(RGLAuthenticityParams*)input {
|
|
@@ -1065,16 +1054,6 @@
|
|
|
1065
1054
|
if(input[@"checkBlackAndWhiteCopy"]) result.checkBlackAndWhiteCopy = input[@"checkBlackAndWhiteCopy"];
|
|
1066
1055
|
if(input[@"checkDynaprint"]) result.checkDynaprint = input[@"checkDynaprint"];
|
|
1067
1056
|
if(input[@"checkGeometry"]) result.checkGeometry = input[@"checkGeometry"];
|
|
1068
|
-
|
|
1069
|
-
if (input[@"setCheckFilter"]) [result
|
|
1070
|
-
addFilter:[RGLWJSONConstructor filterObjectFromJson: input[@"setCheckFilter"][@"filterObject"]] forCheckType:input[@"setCheckFilter"][@"checkType"]];
|
|
1071
|
-
if (input[@"removeCheckFilter"]) [result removeFilterForCheckType: input[@"removeCheckFilter"]];
|
|
1072
|
-
if (input[@"clearCheckFilter"]) [result clearCheckFilter];
|
|
1073
|
-
if (input[@"checkFilters"]) {
|
|
1074
|
-
[result clearCheckFilter];
|
|
1075
|
-
for (NSString* key in input[@"checkFilters"])
|
|
1076
|
-
[result addFilter:[RGLWJSONConstructor filterObjectFromJson: input[@"checkFilters"][key]] forCheckType: key];
|
|
1077
|
-
}
|
|
1078
1057
|
}
|
|
1079
1058
|
|
|
1080
1059
|
+(NSDictionary*)getLivenessParams:(RGLLivenessParams*)input {
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
+(NSString* _Nullable)generateCompletion:(NSNumber*_Nonnull)action :(RGLDocumentReaderResults*_Nullable)results :(NSError*_Nullable)error;
|
|
21
21
|
+(NSString* _Nonnull)generatePACertificateCompletion:(NSData *_Nullable)serialNumber :(RGLPAResourcesIssuer *_Nullable)issuer;
|
|
22
22
|
+(NSString* _Nullable)generateFinalizePackageCompletion:(NSNumber*_Nonnull)action :(RGLTransactionInfo*_Nullable)info :(NSError*_Nullable)error;
|
|
23
|
+
+(NSString* _Nullable)generateDeviceEngagementCompletion:(RGLDeviceEngagement* _Nullable)deviceEngagement :(NSError* _Nullable)error;
|
|
23
24
|
|
|
24
25
|
+(RGLConfig* _Nullable)configFromJson:(NSDictionary* _Nullable)input;
|
|
25
26
|
+(NSDictionary* _Nullable)generateConfig:(RGLConfig* _Nullable)input;
|
|
@@ -126,6 +127,10 @@
|
|
|
126
127
|
+(NSDictionary* _Nullable)generateBytesData:(RGLBytesData* _Nullable)input;
|
|
127
128
|
+(RGLVDSNCData* _Nullable)vdsncDataFromJson:(NSDictionary* _Nullable)input;
|
|
128
129
|
+(NSDictionary* _Nullable)generateVDSNCData:(RGLVDSNCData* _Nullable)input;
|
|
130
|
+
+(RGLDocFeature* _Nullable)docFeatureFromJson:(NSDictionary* _Nullable)input;
|
|
131
|
+
+(NSDictionary* _Nullable)generateDocFeature:(RGLDocFeature* _Nullable)input;
|
|
132
|
+
+(RGLVDSData* _Nullable)vdsDataFromJson:(NSDictionary* _Nullable)input;
|
|
133
|
+
+(NSDictionary* _Nullable)generateVDSData:(RGLVDSData* _Nullable)input;
|
|
129
134
|
+(RGLOpticalStatus* _Nullable)opticalStatusFromJson:(NSDictionary* _Nullable)input;
|
|
130
135
|
+(NSDictionary* _Nullable)generateOpticalStatus:(RGLOpticalStatus* _Nullable)input;
|
|
131
136
|
+(RGLRFIDSessionDataStatus* _Nullable)rfidSessionDataStatusFromJson:(NSDictionary* _Nullable)input;
|
|
@@ -175,7 +180,20 @@
|
|
|
175
180
|
+(NSDictionary* _Nullable)generateTCCParams:(RGLTCCParams* _Nullable)input;
|
|
176
181
|
+(RGLTransactionInfo* _Nullable)transactionInfoFromJson:(NSDictionary* _Nullable)input;
|
|
177
182
|
+(NSDictionary* _Nullable)generateTransactionInfo:(RGLTransactionInfo* _Nullable)input;
|
|
178
|
-
+(
|
|
183
|
+
+(RGLDetailsAge* _Nullable)detailsAgeFromJson:(NSDictionary* _Nullable)input;
|
|
184
|
+
+(NSDictionary* _Nullable)generateDetailsAge:(RGLDetailsAge* _Nullable)input;
|
|
185
|
+
+(RGLDeviceRetrievalMethod* _Nullable)deviceRetrievalMethodFromJson:(NSDictionary* _Nullable)input;
|
|
186
|
+
+(NSDictionary* _Nullable)generateDeviceRetrievalMethod:(RGLDeviceRetrievalMethod* _Nullable)input;
|
|
187
|
+
+(RGLDocumentRequest18013MDL* _Nullable)documentRequest18013MDLFromJson:(NSDictionary* _Nullable)input;
|
|
188
|
+
+(NSDictionary* _Nullable)generateDocumentRequest18013MDL:(RGLDocumentRequest18013MDL* _Nullable)input;
|
|
189
|
+
+(RGLDataRetrieval* _Nullable)dataRetrievalFromJson:(NSDictionary* _Nullable)input;
|
|
190
|
+
+(NSDictionary* _Nullable)generateDataRetrieval:(RGLDataRetrieval* _Nullable)input;
|
|
191
|
+
+(RGLDeviceEngagement* _Nullable)deviceEngagementFromJson:(NSDictionary* _Nullable)input;
|
|
192
|
+
+(NSDictionary* _Nullable)generateDeviceEngagement:(RGLDeviceEngagement* _Nullable)input;
|
|
193
|
+
+(RGLNameSpaceMDL* _Nullable)nameSpaceMDLFromJson:(NSDictionary* _Nullable)input;
|
|
194
|
+
+(NSDictionary* _Nullable)generateNameSpaceMDL:(RGLNameSpaceMDL* _Nullable)input;
|
|
195
|
+
+(RGLDocumentRequestMDL* _Nullable)documentRequestMDLFromJson:(NSDictionary* _Nullable)input;
|
|
196
|
+
+(NSDictionary* _Nullable)generateDocumentRequestMDL:(RGLDocumentRequestMDL* _Nullable)input;
|
|
179
197
|
|
|
180
198
|
@end
|
|
181
199
|
|