@regulaforensics/document-reader 8.3.281-beta → 8.3.288-beta
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/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 +4 -0
- package/android/src/main/java/com/regula/plugin/documentreader/JSONConstructor.kt +4 -4
- package/examples/capacitor/android/app/build.gradle +2 -2
- package/examples/capacitor/android/app/src/main/AndroidManifest.xml +1 -1
- package/examples/capacitor/android/app/src/main/java/com/regula/{dr/fullauthrfid → example/dr/capacitor}/MainActivity.java +1 -1
- package/examples/capacitor/android/app/src/main/res/values/strings.xml +2 -2
- package/examples/capacitor/ios/App/App/Info.plist +60 -60
- package/examples/capacitor/ios/App/App.xcodeproj/project.pbxproj +2 -2
- package/examples/capacitor/package-lock.json +30 -159
- package/examples/capacitor/package.json +3 -3
- package/examples/ionic/config.xml +2 -2
- package/examples/ionic/package-lock.json +7962 -10570
- package/examples/ionic/package.json +16 -16
- package/examples/react_native/app.config.ts +3 -3
- package/examples/react_native/package-lock.json +54 -71
- package/examples/react_native/package.json +3 -3
- package/examples/react_native/scripts/android.sh +1 -0
- package/examples/react_native/scripts/ios.sh +2 -1
- package/ios/RGLWConfig.m +2 -0
- package/ios/RGLWMain.m +1 -1
- package/package.json +1 -1
- package/plugin.xml +2 -2
- package/test/json.tsx +3 -1
- package/test/package-lock.json +1 -1
- package/www/capacitor/params/Functionality.js +8 -0
- package/www/capacitor/params/process_params/ProcessParams.js +8 -0
- package/www/capacitor/results/authenticity/CheckDiagnose.js +1 -0
- package/www/cordova.js +17 -0
- package/www/react-native/params/Functionality.js +8 -0
- package/www/react-native/params/process_params/ProcessParams.js +8 -0
- package/www/react-native/results/authenticity/CheckDiagnose.js +1 -0
- package/www/types/params/Functionality.d.ts +4 -0
- package/www/types/params/process_params/FaceApiSearchParams.d.ts +2 -2
- package/www/types/params/process_params/ProcessParams.d.ts +4 -0
- package/www/types/results/TransactionInfo.d.ts +1 -1
- package/www/types/results/authenticity/CheckDiagnose.d.ts +2 -0
- /package/www/capacitor/params/process_params/{RfidParams.js → RFIDParams.js} +0 -0
- /package/www/react-native/params/process_params/{RfidParams.js → RFIDParams.js} +0 -0
- /package/www/types/params/process_params/{RfidParams.d.ts → RFIDParams.d.ts} +0 -0
|
@@ -6,26 +6,26 @@
|
|
|
6
6
|
"android": "scripts/android.sh"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@
|
|
10
|
-
"@regulaforensics/document-reader-core-fullauthrfid": "8.3.9-beta",
|
|
11
|
-
"@regulaforensics/document-reader-btdevice": "8.3.10-beta",
|
|
12
|
-
"@awesome-cordova-plugins/file": "6.14.0",
|
|
13
|
-
"@awesome-cordova-plugins/camera": "6.14.0",
|
|
14
|
-
"cordova-ios": "7.1.1",
|
|
15
|
-
"cordova-android": "13.0.0",
|
|
16
|
-
"cordova-plugin-file": "8.1.3",
|
|
17
|
-
"cordova-plugin-camera": "8.0.0",
|
|
18
|
-
"cordova-plugin-ionic-webview": "^5.0.0",
|
|
9
|
+
"@angular-devkit/build-angular": "^20.3.1",
|
|
19
10
|
"@angular/cli": "19.2.0",
|
|
20
|
-
"@angular/core": "19.2.0",
|
|
21
11
|
"@angular/common": "19.2.0",
|
|
22
|
-
"@angular/forms": "19.2.0",
|
|
23
12
|
"@angular/compiler-cli": "19.2.0",
|
|
24
|
-
"@angular/
|
|
13
|
+
"@angular/core": "19.2.0",
|
|
14
|
+
"@angular/forms": "19.2.0",
|
|
25
15
|
"@angular/platform-browser-dynamic": "19.2.0",
|
|
26
|
-
"@angular
|
|
16
|
+
"@angular/router": "19.2.0",
|
|
17
|
+
"@awesome-cordova-plugins/camera": "6.14.0",
|
|
18
|
+
"@awesome-cordova-plugins/file": "6.14.0",
|
|
27
19
|
"@ionic/angular": "8.4.3",
|
|
28
|
-
"@ionic/cordova-builders": "12.
|
|
20
|
+
"@ionic/cordova-builders": "12.3.0",
|
|
21
|
+
"@regulaforensics/document-reader": "8.3.288-beta",
|
|
22
|
+
"@regulaforensics/document-reader-btdevice": "8.2.8-beta",
|
|
23
|
+
"@regulaforensics/document-reader-core-fullauthrfid": "8.2.8-beta",
|
|
24
|
+
"cordova-android": "13.0.0",
|
|
25
|
+
"cordova-ios": "7.1.1",
|
|
26
|
+
"cordova-plugin-camera": "8.0.0",
|
|
27
|
+
"cordova-plugin-file": "8.1.3",
|
|
28
|
+
"cordova-plugin-ionic-webview": "^5.0.0"
|
|
29
29
|
},
|
|
30
30
|
"cordova": {
|
|
31
31
|
"plugins": {
|
|
@@ -41,4 +41,4 @@
|
|
|
41
41
|
"ios"
|
|
42
42
|
]
|
|
43
43
|
}
|
|
44
|
-
}
|
|
44
|
+
}
|
|
@@ -3,11 +3,11 @@ import { ExpoConfig, ConfigContext } from 'expo/config'
|
|
|
3
3
|
export default ({ config }: ConfigContext): ExpoConfig => ({
|
|
4
4
|
...config,
|
|
5
5
|
slug: 'document-reader',
|
|
6
|
-
name: '
|
|
6
|
+
name: 'DocReader',
|
|
7
7
|
orientation: 'portrait',
|
|
8
8
|
icon: './images/icon/icon.png',
|
|
9
9
|
ios: {
|
|
10
|
-
bundleIdentifier: 'regula.
|
|
10
|
+
bundleIdentifier: 'com.regula.example.dr.react',
|
|
11
11
|
infoPlist: {
|
|
12
12
|
NSCameraUsageDescription: 'To use camera',
|
|
13
13
|
NSPhotoLibraryUsageDescription: 'To use gallery',
|
|
@@ -27,7 +27,7 @@ export default ({ config }: ConfigContext): ExpoConfig => ({
|
|
|
27
27
|
appleTeamId: ''
|
|
28
28
|
},
|
|
29
29
|
android: {
|
|
30
|
-
package: 'com.regula.dr.
|
|
30
|
+
package: 'com.regula.example.dr.react',
|
|
31
31
|
permissions: [
|
|
32
32
|
'android.permission.BLUETOOTH_CONNECT',
|
|
33
33
|
'android.permission.NFC'],
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
"name": "document-reader",
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@react-native/metro-config": "0.79.5",
|
|
10
|
-
"@regulaforensics/document-reader": "
|
|
11
|
-
"@regulaforensics/document-reader-btdevice": "8.
|
|
12
|
-
"@regulaforensics/document-reader-core-fullauthrfid": "8.
|
|
10
|
+
"@regulaforensics/document-reader": "8.3.281-beta",
|
|
11
|
+
"@regulaforensics/document-reader-btdevice": "8.3.10-beta",
|
|
12
|
+
"@regulaforensics/document-reader-core-fullauthrfid": "8.3.9-beta",
|
|
13
13
|
"@types/react": "19.1.8",
|
|
14
14
|
"expo": "53.0.20",
|
|
15
15
|
"expo-build-properties": "0.14.8",
|
|
@@ -23,11 +23,6 @@
|
|
|
23
23
|
"typescript": "5.8.3"
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
|
-
"../api": {
|
|
27
|
-
"name": "@regulaforensics/document-reader",
|
|
28
|
-
"version": "8.3.210",
|
|
29
|
-
"license": "commercial"
|
|
30
|
-
},
|
|
31
26
|
"node_modules/@0no-co/graphql.web": {
|
|
32
27
|
"version": "1.1.2",
|
|
33
28
|
"resolved": "https://registry.npmjs.org/@0no-co/graphql.web/-/graphql.web-1.1.2.tgz",
|
|
@@ -1535,9 +1530,9 @@
|
|
|
1535
1530
|
}
|
|
1536
1531
|
},
|
|
1537
1532
|
"node_modules/@changesets/assemble-release-plan": {
|
|
1538
|
-
"version": "6.0.
|
|
1539
|
-
"resolved": "https://registry.npmjs.org/@changesets/assemble-release-plan/-/assemble-release-plan-6.0.
|
|
1540
|
-
"integrity": "sha512-
|
|
1533
|
+
"version": "6.0.9",
|
|
1534
|
+
"resolved": "https://registry.npmjs.org/@changesets/assemble-release-plan/-/assemble-release-plan-6.0.9.tgz",
|
|
1535
|
+
"integrity": "sha512-tPgeeqCHIwNo8sypKlS3gOPmsS3wP0zHt67JDuL20P4QcXiw/O4Hl7oXiuLnP9yg+rXLQ2sScdV1Kkzde61iSQ==",
|
|
1541
1536
|
"license": "MIT",
|
|
1542
1537
|
"dependencies": {
|
|
1543
1538
|
"@changesets/errors": "^0.2.0",
|
|
@@ -1570,18 +1565,18 @@
|
|
|
1570
1565
|
}
|
|
1571
1566
|
},
|
|
1572
1567
|
"node_modules/@changesets/cli": {
|
|
1573
|
-
"version": "2.29.
|
|
1574
|
-
"resolved": "https://registry.npmjs.org/@changesets/cli/-/cli-2.29.
|
|
1575
|
-
"integrity": "sha512-
|
|
1568
|
+
"version": "2.29.6",
|
|
1569
|
+
"resolved": "https://registry.npmjs.org/@changesets/cli/-/cli-2.29.6.tgz",
|
|
1570
|
+
"integrity": "sha512-6qCcVsIG1KQLhpQ5zE8N0PckIx4+9QlHK3z6/lwKnw7Tir71Bjw8BeOZaxA/4Jt00pcgCnCSWZnyuZf5Il05QQ==",
|
|
1576
1571
|
"license": "MIT",
|
|
1577
1572
|
"dependencies": {
|
|
1578
1573
|
"@changesets/apply-release-plan": "^7.0.12",
|
|
1579
|
-
"@changesets/assemble-release-plan": "^6.0.
|
|
1574
|
+
"@changesets/assemble-release-plan": "^6.0.9",
|
|
1580
1575
|
"@changesets/changelog-git": "^0.2.1",
|
|
1581
1576
|
"@changesets/config": "^3.1.1",
|
|
1582
1577
|
"@changesets/errors": "^0.2.0",
|
|
1583
1578
|
"@changesets/get-dependents-graph": "^2.1.3",
|
|
1584
|
-
"@changesets/get-release-plan": "^4.0.
|
|
1579
|
+
"@changesets/get-release-plan": "^4.0.13",
|
|
1585
1580
|
"@changesets/git": "^3.0.4",
|
|
1586
1581
|
"@changesets/logger": "^0.1.1",
|
|
1587
1582
|
"@changesets/pre": "^2.0.2",
|
|
@@ -1589,11 +1584,11 @@
|
|
|
1589
1584
|
"@changesets/should-skip-package": "^0.1.2",
|
|
1590
1585
|
"@changesets/types": "^6.1.0",
|
|
1591
1586
|
"@changesets/write": "^0.4.0",
|
|
1587
|
+
"@inquirer/external-editor": "^1.0.0",
|
|
1592
1588
|
"@manypkg/get-packages": "^1.1.3",
|
|
1593
1589
|
"ansi-colors": "^4.1.3",
|
|
1594
1590
|
"ci-info": "^3.7.0",
|
|
1595
1591
|
"enquirer": "^2.4.1",
|
|
1596
|
-
"external-editor": "^3.1.0",
|
|
1597
1592
|
"fs-extra": "^7.0.1",
|
|
1598
1593
|
"mri": "^1.2.0",
|
|
1599
1594
|
"p-limit": "^2.2.0",
|
|
@@ -1684,12 +1679,12 @@
|
|
|
1684
1679
|
}
|
|
1685
1680
|
},
|
|
1686
1681
|
"node_modules/@changesets/get-release-plan": {
|
|
1687
|
-
"version": "4.0.
|
|
1688
|
-
"resolved": "https://registry.npmjs.org/@changesets/get-release-plan/-/get-release-plan-4.0.
|
|
1689
|
-
"integrity": "sha512-
|
|
1682
|
+
"version": "4.0.13",
|
|
1683
|
+
"resolved": "https://registry.npmjs.org/@changesets/get-release-plan/-/get-release-plan-4.0.13.tgz",
|
|
1684
|
+
"integrity": "sha512-DWG1pus72FcNeXkM12tx+xtExyH/c9I1z+2aXlObH3i9YA7+WZEVaiHzHl03thpvAgWTRaH64MpfHxozfF7Dvg==",
|
|
1690
1685
|
"license": "MIT",
|
|
1691
1686
|
"dependencies": {
|
|
1692
|
-
"@changesets/assemble-release-plan": "^6.0.
|
|
1687
|
+
"@changesets/assemble-release-plan": "^6.0.9",
|
|
1693
1688
|
"@changesets/config": "^3.1.1",
|
|
1694
1689
|
"@changesets/pre": "^2.0.2",
|
|
1695
1690
|
"@changesets/read": "^0.6.5",
|
|
@@ -2384,6 +2379,27 @@
|
|
|
2384
2379
|
"@babel/highlight": "^7.10.4"
|
|
2385
2380
|
}
|
|
2386
2381
|
},
|
|
2382
|
+
"node_modules/@inquirer/external-editor": {
|
|
2383
|
+
"version": "1.0.1",
|
|
2384
|
+
"resolved": "https://registry.npmjs.org/@inquirer/external-editor/-/external-editor-1.0.1.tgz",
|
|
2385
|
+
"integrity": "sha512-Oau4yL24d2B5IL4ma4UpbQigkVhzPDXLoqy1ggK4gnHg/stmkffJE4oOXHXF3uz0UEpywG68KcyXsyYpA1Re/Q==",
|
|
2386
|
+
"license": "MIT",
|
|
2387
|
+
"dependencies": {
|
|
2388
|
+
"chardet": "^2.1.0",
|
|
2389
|
+
"iconv-lite": "^0.6.3"
|
|
2390
|
+
},
|
|
2391
|
+
"engines": {
|
|
2392
|
+
"node": ">=18"
|
|
2393
|
+
},
|
|
2394
|
+
"peerDependencies": {
|
|
2395
|
+
"@types/node": ">=18"
|
|
2396
|
+
},
|
|
2397
|
+
"peerDependenciesMeta": {
|
|
2398
|
+
"@types/node": {
|
|
2399
|
+
"optional": true
|
|
2400
|
+
}
|
|
2401
|
+
}
|
|
2402
|
+
},
|
|
2387
2403
|
"node_modules/@isaacs/cliui": {
|
|
2388
2404
|
"version": "8.0.2",
|
|
2389
2405
|
"resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz",
|
|
@@ -3236,19 +3252,21 @@
|
|
|
3236
3252
|
}
|
|
3237
3253
|
},
|
|
3238
3254
|
"node_modules/@regulaforensics/document-reader": {
|
|
3239
|
-
"
|
|
3240
|
-
"
|
|
3255
|
+
"version": "8.3.281-beta",
|
|
3256
|
+
"resolved": "https://registry.npmjs.org/@regulaforensics/document-reader/-/document-reader-8.3.281-beta.tgz",
|
|
3257
|
+
"integrity": "sha512-RbbarWLMBipA6mEdrMijW8ANWhtL2Wb2fsZWW+vsRT5Mw/BjZkNmgQ2Viz+2xZMwwytLyBrmug8B0pvvX6/b8A==",
|
|
3258
|
+
"license": "commercial"
|
|
3241
3259
|
},
|
|
3242
3260
|
"node_modules/@regulaforensics/document-reader-btdevice": {
|
|
3243
|
-
"version": "8.
|
|
3244
|
-
"resolved": "https://registry.npmjs.org/@regulaforensics/document-reader-btdevice/-/document-reader-btdevice-8.
|
|
3245
|
-
"integrity": "sha512-
|
|
3261
|
+
"version": "8.3.10-beta",
|
|
3262
|
+
"resolved": "https://registry.npmjs.org/@regulaforensics/document-reader-btdevice/-/document-reader-btdevice-8.3.10-beta.tgz",
|
|
3263
|
+
"integrity": "sha512-yPkB5ufMK2PBDJV9j2kV7T1JYcgatyiRD1LwYPuhYc32moHCxI7LQ25oiXv4bg8Qy01pd923gHCRwxhkGLzw7A==",
|
|
3246
3264
|
"license": "commercial"
|
|
3247
3265
|
},
|
|
3248
3266
|
"node_modules/@regulaforensics/document-reader-core-fullauthrfid": {
|
|
3249
|
-
"version": "8.
|
|
3250
|
-
"resolved": "https://registry.npmjs.org/@regulaforensics/document-reader-core-fullauthrfid/-/document-reader-core-fullauthrfid-8.
|
|
3251
|
-
"integrity": "sha512-
|
|
3267
|
+
"version": "8.3.9-beta",
|
|
3268
|
+
"resolved": "https://registry.npmjs.org/@regulaforensics/document-reader-core-fullauthrfid/-/document-reader-core-fullauthrfid-8.3.9-beta.tgz",
|
|
3269
|
+
"integrity": "sha512-QBedt8/1wGnZTY/rB9aSacqWuGSs0siahoGhoLAvVtJsnu732+sVjvtuK6F41OzVjlva1U0yuBh7hl5U0oxh9w==",
|
|
3252
3270
|
"license": "commercial"
|
|
3253
3271
|
},
|
|
3254
3272
|
"node_modules/@sinclair/typebox": {
|
|
@@ -4106,9 +4124,9 @@
|
|
|
4106
4124
|
}
|
|
4107
4125
|
},
|
|
4108
4126
|
"node_modules/chardet": {
|
|
4109
|
-
"version": "
|
|
4110
|
-
"resolved": "https://registry.npmjs.org/chardet/-/chardet-
|
|
4111
|
-
"integrity": "sha512-
|
|
4127
|
+
"version": "2.1.0",
|
|
4128
|
+
"resolved": "https://registry.npmjs.org/chardet/-/chardet-2.1.0.tgz",
|
|
4129
|
+
"integrity": "sha512-bNFETTG/pM5ryzQ9Ad0lJOTa6HWD/YsScAR3EnCPZRPlQh77JocYktSHOUHelyhm8IARL+o4c4F1bP5KVOjiRA==",
|
|
4112
4130
|
"license": "MIT"
|
|
4113
4131
|
},
|
|
4114
4132
|
"node_modules/chownr": {
|
|
@@ -4974,20 +4992,6 @@
|
|
|
4974
4992
|
"integrity": "sha512-UOiS2in6/Q0FK0R0q6UY9vYpQ21mr/Qn1KOnte7vsACuNJf514WvCCUHSRCPcgjPT2bAhNIJdlE6bVap1GKmeg==",
|
|
4975
4993
|
"license": "MIT"
|
|
4976
4994
|
},
|
|
4977
|
-
"node_modules/external-editor": {
|
|
4978
|
-
"version": "3.1.0",
|
|
4979
|
-
"resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz",
|
|
4980
|
-
"integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==",
|
|
4981
|
-
"license": "MIT",
|
|
4982
|
-
"dependencies": {
|
|
4983
|
-
"chardet": "^0.7.0",
|
|
4984
|
-
"iconv-lite": "^0.4.24",
|
|
4985
|
-
"tmp": "^0.0.33"
|
|
4986
|
-
},
|
|
4987
|
-
"engines": {
|
|
4988
|
-
"node": ">=4"
|
|
4989
|
-
}
|
|
4990
|
-
},
|
|
4991
4995
|
"node_modules/fast-deep-equal": {
|
|
4992
4996
|
"version": "3.1.3",
|
|
4993
4997
|
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
|
|
@@ -5424,12 +5428,12 @@
|
|
|
5424
5428
|
}
|
|
5425
5429
|
},
|
|
5426
5430
|
"node_modules/iconv-lite": {
|
|
5427
|
-
"version": "0.
|
|
5428
|
-
"resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.
|
|
5429
|
-
"integrity": "sha512-
|
|
5431
|
+
"version": "0.6.3",
|
|
5432
|
+
"resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz",
|
|
5433
|
+
"integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==",
|
|
5430
5434
|
"license": "MIT",
|
|
5431
5435
|
"dependencies": {
|
|
5432
|
-
"safer-buffer": ">= 2.1.2 < 3"
|
|
5436
|
+
"safer-buffer": ">= 2.1.2 < 3.0.0"
|
|
5433
5437
|
},
|
|
5434
5438
|
"engines": {
|
|
5435
5439
|
"node": ">=0.10.0"
|
|
@@ -7148,15 +7152,6 @@
|
|
|
7148
7152
|
"node": ">=4"
|
|
7149
7153
|
}
|
|
7150
7154
|
},
|
|
7151
|
-
"node_modules/os-tmpdir": {
|
|
7152
|
-
"version": "1.0.2",
|
|
7153
|
-
"resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz",
|
|
7154
|
-
"integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==",
|
|
7155
|
-
"license": "MIT",
|
|
7156
|
-
"engines": {
|
|
7157
|
-
"node": ">=0.10.0"
|
|
7158
|
-
}
|
|
7159
|
-
},
|
|
7160
7155
|
"node_modules/outdent": {
|
|
7161
7156
|
"version": "0.5.0",
|
|
7162
7157
|
"resolved": "https://registry.npmjs.org/outdent/-/outdent-0.5.0.tgz",
|
|
@@ -8816,18 +8811,6 @@
|
|
|
8816
8811
|
"integrity": "sha512-fcwX4mndzpLQKBS1DVYhGAcYaYt7vsHNIvQV+WXMvnow5cgjPphq5CaayLaGsjRdSCKZFNGt7/GYAuXaNOiYCA==",
|
|
8817
8812
|
"license": "MIT"
|
|
8818
8813
|
},
|
|
8819
|
-
"node_modules/tmp": {
|
|
8820
|
-
"version": "0.0.33",
|
|
8821
|
-
"resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz",
|
|
8822
|
-
"integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==",
|
|
8823
|
-
"license": "MIT",
|
|
8824
|
-
"dependencies": {
|
|
8825
|
-
"os-tmpdir": "~1.0.2"
|
|
8826
|
-
},
|
|
8827
|
-
"engines": {
|
|
8828
|
-
"node": ">=0.6.0"
|
|
8829
|
-
}
|
|
8830
|
-
},
|
|
8831
8814
|
"node_modules/tmpl": {
|
|
8832
8815
|
"version": "1.0.5",
|
|
8833
8816
|
"resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz",
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
"start": "expo start"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@regulaforensics/document-reader": "8.3.
|
|
12
|
-
"@regulaforensics/document-reader-core-fullauthrfid": "8.
|
|
13
|
-
"@regulaforensics/document-reader-btdevice": "8.
|
|
11
|
+
"@regulaforensics/document-reader": "8.3.288-beta",
|
|
12
|
+
"@regulaforensics/document-reader-core-fullauthrfid": "8.2.8-beta",
|
|
13
|
+
"@regulaforensics/document-reader-btdevice": "8.2.8-beta",
|
|
14
14
|
"react-native": "0.79.5",
|
|
15
15
|
"react-native-fs": "2.20.0",
|
|
16
16
|
"react-native-image-picker": "8.2.1",
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
|
|
3
3
|
if [[ $npm_config_o || $npm_config_open ]]; then
|
|
4
|
-
open ios/
|
|
4
|
+
open ios/DocReader.xcworkspace
|
|
5
5
|
# check if metro is already running
|
|
6
6
|
if ! pgrep -f "expo start" > /dev/null; then
|
|
7
|
+
watchman shutdown-server # fix potential errors
|
|
7
8
|
npm start
|
|
8
9
|
fi
|
|
9
10
|
else
|
package/ios/RGLWConfig.m
CHANGED
|
@@ -185,6 +185,7 @@
|
|
|
185
185
|
if (options[@"strictDLCategoryExpiry"]) processParams.strictDLCategoryExpiry = options[@"strictDLCategoryExpiry"];
|
|
186
186
|
if (options[@"generateAlpha2Codes"]) processParams.generateAlpha2Codes = options[@"generateAlpha2Codes"];
|
|
187
187
|
if (options[@"disableAuthResolutionFilter"]) processParams.disableAuthResolutionFilter = options[@"disableAuthResolutionFilter"];
|
|
188
|
+
if (options[@"strictSecurityChecks"]) processParams.strictSecurityChecks = options[@"strictSecurityChecks"];
|
|
188
189
|
|
|
189
190
|
// Int
|
|
190
191
|
if([options valueForKey:@"measureSystem"] != nil)
|
|
@@ -316,6 +317,7 @@
|
|
|
316
317
|
result[@"strictDLCategoryExpiry"] = processParams.strictDLCategoryExpiry;
|
|
317
318
|
result[@"generateAlpha2Codes"] = processParams.generateAlpha2Codes;
|
|
318
319
|
result[@"disableAuthResolutionFilter"] = processParams.disableAuthResolutionFilter;
|
|
320
|
+
result[@"strictSecurityChecks"] = processParams.strictSecurityChecks;
|
|
319
321
|
|
|
320
322
|
// Int
|
|
321
323
|
result[@"measureSystem"] = [NSNumber numberWithInteger:processParams.measureSystem];
|
package/ios/RGLWMain.m
CHANGED
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
@"endBackendTransaction": ^{ [self endBackendTransaction]; },
|
|
68
68
|
@"textFieldValueByType": ^{ [self textFieldValueByType :args[0] :args[1] :callback]; },
|
|
69
69
|
@"textFieldValueByTypeLcid": ^{ [self textFieldValueByTypeLcid :args[0] :args[1] :args[2] :callback]; },
|
|
70
|
-
@"textFieldValueByTypeSource": ^{ [self textFieldValueByTypeSource :args[0] :args[
|
|
70
|
+
@"textFieldValueByTypeSource": ^{ [self textFieldValueByTypeSource :args[0] :args[1] :args[2] :callback]; },
|
|
71
71
|
@"textFieldValueByTypeLcidSource": ^{ [self textFieldValueByTypeLcidSource :args[0] :args[1] :args[2] :args[3] :callback]; },
|
|
72
72
|
@"textFieldValueByTypeSourceOriginal": ^{ [self textFieldValueByTypeSourceOriginal :args[0] :args[1] :args[2] :args[3] :callback]; },
|
|
73
73
|
@"textFieldValueByTypeLcidSourceOriginal": ^{ [self textFieldValueByTypeLcidSourceOriginal :args[0] :args[1] :args[2] :args[3] :args[4] :callback]; },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@regulaforensics/document-reader",
|
|
3
|
-
"version": "8.3.
|
|
3
|
+
"version": "8.3.288-beta",
|
|
4
4
|
"description": "This is an npm module for Regula Document Reader SDK. It allows you to read various kinds of identification documents using your phone's camera.",
|
|
5
5
|
"main": "www/react-native/index.js",
|
|
6
6
|
"module": "www/capacitor/index.js",
|
package/plugin.xml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<?xml version='1.0' encoding='utf-8'?>
|
|
2
|
-
<plugin id="@regulaforensics/document-reader" version="8.3.
|
|
2
|
+
<plugin id="@regulaforensics/document-reader" version="8.3.288-beta" xmlns="http://apache.org/cordova/ns/plugins/1.0">
|
|
3
3
|
<name>DocumentReader</name>
|
|
4
4
|
<description>Cordova plugin for Regula Document Reader SDK</description>
|
|
5
5
|
<license>commercial</license>
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
<source url="https://github.com/CocoaPods/Specs.git" />
|
|
30
30
|
</config>
|
|
31
31
|
<pods>
|
|
32
|
-
<pod name="
|
|
32
|
+
<pod name="DocumentReaderStage" spec="8.3.5054" />
|
|
33
33
|
</pods>
|
|
34
34
|
</podspec>
|
|
35
35
|
</platform>
|
package/test/json.tsx
CHANGED
|
@@ -5,7 +5,7 @@ var img3 = 'data3'
|
|
|
5
5
|
export var faceApiSearchParams = {
|
|
6
6
|
"limit": 1,
|
|
7
7
|
"threshold": 2,
|
|
8
|
-
"groupIds": [
|
|
8
|
+
"groupIds": ["test1", "test2", "test3"],
|
|
9
9
|
}
|
|
10
10
|
export var faceApiParams = {
|
|
11
11
|
"url": "test1",
|
|
@@ -105,6 +105,7 @@ export var processParams = {
|
|
|
105
105
|
"strictDLCategoryExpiry": true,
|
|
106
106
|
"generateAlpha2Codes": false,
|
|
107
107
|
"disableAuthResolutionFilter": true,
|
|
108
|
+
"strictSecurityChecks": false,
|
|
108
109
|
"measureSystem": 1,
|
|
109
110
|
"barcodeParserType": 3,
|
|
110
111
|
"perspectiveAngle": 4,
|
|
@@ -286,6 +287,7 @@ export var functionality = {
|
|
|
286
287
|
"btDeviceName": "test",
|
|
287
288
|
"zoomFactor": 0.5,
|
|
288
289
|
"exposure": 1.5,
|
|
290
|
+
"videoRecordingSizeDownscaleFactor": 2.5,
|
|
289
291
|
"excludedCamera2Models": ["test1", "test2", "test3"],
|
|
290
292
|
"cameraSize": cameraSize,
|
|
291
293
|
"videoSessionPreset": 6,
|
package/test/package-lock.json
CHANGED
|
@@ -177,6 +177,12 @@ export class Functionality {
|
|
|
177
177
|
this._set({ "exposure": val });
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
+
get videoRecordingSizeDownscaleFactor() { return this._videoRecordingSizeDownscaleFactor; }
|
|
181
|
+
set videoRecordingSizeDownscaleFactor(val) {
|
|
182
|
+
this._videoRecordingSizeDownscaleFactor = val;
|
|
183
|
+
this._set({ "videoRecordingSizeDownscaleFactor": val });
|
|
184
|
+
}
|
|
185
|
+
|
|
180
186
|
get excludedCamera2Models() { return this._excludedCamera2Models; }
|
|
181
187
|
set excludedCamera2Models(val) {
|
|
182
188
|
this._excludedCamera2Models = val;
|
|
@@ -228,6 +234,7 @@ export class Functionality {
|
|
|
228
234
|
result._btDeviceName = jsonObject["btDeviceName"];
|
|
229
235
|
result._zoomFactor = jsonObject["zoomFactor"];
|
|
230
236
|
result._exposure = jsonObject["exposure"];
|
|
237
|
+
result._videoRecordingSizeDownscaleFactor = jsonObject["videoRecordingSizeDownscaleFactor"];
|
|
231
238
|
result._excludedCamera2Models = jsonObject["excludedCamera2Models"];
|
|
232
239
|
result._cameraResolutionAndroid = CameraSize.fromJson(jsonObject["cameraSize"]);
|
|
233
240
|
result._cameraResolutionIOS = jsonObject["videoSessionPreset"];
|
|
@@ -266,6 +273,7 @@ export class Functionality {
|
|
|
266
273
|
"btDeviceName": this.btDeviceName,
|
|
267
274
|
"zoomFactor": this.zoomFactor,
|
|
268
275
|
"exposure": this.exposure,
|
|
276
|
+
"videoRecordingSizeDownscaleFactor": this.videoRecordingSizeDownscaleFactor,
|
|
269
277
|
"excludedCamera2Models": this.excludedCamera2Models,
|
|
270
278
|
"cameraSize": this.cameraResolutionAndroid?.toJson(),
|
|
271
279
|
"videoSessionPreset": this.cameraResolutionIOS,
|
|
@@ -235,6 +235,12 @@ export class ProcessParams {
|
|
|
235
235
|
this._set({ "disableAuthResolutionFilter": val });
|
|
236
236
|
}
|
|
237
237
|
|
|
238
|
+
get strictSecurityChecks() { return this._strictSecurityChecks; }
|
|
239
|
+
set strictSecurityChecks(val) {
|
|
240
|
+
this._strictSecurityChecks = val;
|
|
241
|
+
this._set({ "strictSecurityChecks": val });
|
|
242
|
+
}
|
|
243
|
+
|
|
238
244
|
get barcodeParserType() { return this._barcodeParserType; }
|
|
239
245
|
set barcodeParserType(val) {
|
|
240
246
|
this._barcodeParserType = val;
|
|
@@ -499,6 +505,7 @@ export class ProcessParams {
|
|
|
499
505
|
result._strictDLCategoryExpiry = jsonObject["strictDLCategoryExpiry"];
|
|
500
506
|
result._generateAlpha2Codes = jsonObject["generateAlpha2Codes"];
|
|
501
507
|
result._disableAuthResolutionFilter = jsonObject["disableAuthResolutionFilter"];
|
|
508
|
+
result._strictSecurityChecks = jsonObject["strictSecurityChecks"];
|
|
502
509
|
result._barcodeParserType = jsonObject["barcodeParserType"];
|
|
503
510
|
result._perspectiveAngle = jsonObject["perspectiveAngle"];
|
|
504
511
|
result._minDPI = jsonObject["minDPI"];
|
|
@@ -580,6 +587,7 @@ export class ProcessParams {
|
|
|
580
587
|
"strictDLCategoryExpiry": this.strictDLCategoryExpiry,
|
|
581
588
|
"generateAlpha2Codes": this.generateAlpha2Codes,
|
|
582
589
|
"disableAuthResolutionFilter": this.disableAuthResolutionFilter,
|
|
590
|
+
"strictSecurityChecks": this.strictSecurityChecks,
|
|
583
591
|
"measureSystem": this.measureSystem,
|
|
584
592
|
"barcodeParserType": this.barcodeParserType,
|
|
585
593
|
"perspectiveAngle": this.perspectiveAngle,
|
|
@@ -75,6 +75,7 @@ export const CheckDiagnose = {
|
|
|
75
75
|
TEXT_COLOR_SHOULD_BE_GREEN: 131,
|
|
76
76
|
TEXT_COLOR_SHOULD_BE_RED: 132,
|
|
77
77
|
TEXT_SHOULD_BE_BLACK: 133,
|
|
78
|
+
SECURITY_TEXT_IS_ABSENT: 134,
|
|
78
79
|
BARCODE_WAS_READ_WITH_ERRORS: 140,
|
|
79
80
|
BARCODE_DATA_FORMAT_ERROR: 141,
|
|
80
81
|
BARCODE_SIZE_PARAMS_ERROR: 142,
|
package/www/cordova.js
CHANGED
|
@@ -1924,6 +1924,12 @@ class Functionality {
|
|
|
1924
1924
|
this._set({ "exposure": val });
|
|
1925
1925
|
}
|
|
1926
1926
|
|
|
1927
|
+
get videoRecordingSizeDownscaleFactor() { return this._videoRecordingSizeDownscaleFactor; }
|
|
1928
|
+
set videoRecordingSizeDownscaleFactor(val) {
|
|
1929
|
+
this._videoRecordingSizeDownscaleFactor = val;
|
|
1930
|
+
this._set({ "videoRecordingSizeDownscaleFactor": val });
|
|
1931
|
+
}
|
|
1932
|
+
|
|
1927
1933
|
get excludedCamera2Models() { return this._excludedCamera2Models; }
|
|
1928
1934
|
set excludedCamera2Models(val) {
|
|
1929
1935
|
this._excludedCamera2Models = val;
|
|
@@ -1975,6 +1981,7 @@ class Functionality {
|
|
|
1975
1981
|
result._btDeviceName = jsonObject["btDeviceName"];
|
|
1976
1982
|
result._zoomFactor = jsonObject["zoomFactor"];
|
|
1977
1983
|
result._exposure = jsonObject["exposure"];
|
|
1984
|
+
result._videoRecordingSizeDownscaleFactor = jsonObject["videoRecordingSizeDownscaleFactor"];
|
|
1978
1985
|
result._excludedCamera2Models = jsonObject["excludedCamera2Models"];
|
|
1979
1986
|
result._cameraResolutionAndroid = CameraSize.fromJson(jsonObject["cameraSize"]);
|
|
1980
1987
|
result._cameraResolutionIOS = jsonObject["videoSessionPreset"];
|
|
@@ -2013,6 +2020,7 @@ class Functionality {
|
|
|
2013
2020
|
"btDeviceName": this.btDeviceName,
|
|
2014
2021
|
"zoomFactor": this.zoomFactor,
|
|
2015
2022
|
"exposure": this.exposure,
|
|
2023
|
+
"videoRecordingSizeDownscaleFactor": this.videoRecordingSizeDownscaleFactor,
|
|
2016
2024
|
"excludedCamera2Models": this.excludedCamera2Models,
|
|
2017
2025
|
"cameraSize": this.cameraResolutionAndroid?.toJson(),
|
|
2018
2026
|
"videoSessionPreset": this.cameraResolutionIOS,
|
|
@@ -3860,6 +3868,12 @@ class ProcessParams {
|
|
|
3860
3868
|
this._set({ "disableAuthResolutionFilter": val });
|
|
3861
3869
|
}
|
|
3862
3870
|
|
|
3871
|
+
get strictSecurityChecks() { return this._strictSecurityChecks; }
|
|
3872
|
+
set strictSecurityChecks(val) {
|
|
3873
|
+
this._strictSecurityChecks = val;
|
|
3874
|
+
this._set({ "strictSecurityChecks": val });
|
|
3875
|
+
}
|
|
3876
|
+
|
|
3863
3877
|
get barcodeParserType() { return this._barcodeParserType; }
|
|
3864
3878
|
set barcodeParserType(val) {
|
|
3865
3879
|
this._barcodeParserType = val;
|
|
@@ -4124,6 +4138,7 @@ class ProcessParams {
|
|
|
4124
4138
|
result._strictDLCategoryExpiry = jsonObject["strictDLCategoryExpiry"];
|
|
4125
4139
|
result._generateAlpha2Codes = jsonObject["generateAlpha2Codes"];
|
|
4126
4140
|
result._disableAuthResolutionFilter = jsonObject["disableAuthResolutionFilter"];
|
|
4141
|
+
result._strictSecurityChecks = jsonObject["strictSecurityChecks"];
|
|
4127
4142
|
result._barcodeParserType = jsonObject["barcodeParserType"];
|
|
4128
4143
|
result._perspectiveAngle = jsonObject["perspectiveAngle"];
|
|
4129
4144
|
result._minDPI = jsonObject["minDPI"];
|
|
@@ -4205,6 +4220,7 @@ class ProcessParams {
|
|
|
4205
4220
|
"strictDLCategoryExpiry": this.strictDLCategoryExpiry,
|
|
4206
4221
|
"generateAlpha2Codes": this.generateAlpha2Codes,
|
|
4207
4222
|
"disableAuthResolutionFilter": this.disableAuthResolutionFilter,
|
|
4223
|
+
"strictSecurityChecks": this.strictSecurityChecks,
|
|
4208
4224
|
"measureSystem": this.measureSystem,
|
|
4209
4225
|
"barcodeParserType": this.barcodeParserType,
|
|
4210
4226
|
"perspectiveAngle": this.perspectiveAngle,
|
|
@@ -6631,6 +6647,7 @@ const CheckDiagnose = {
|
|
|
6631
6647
|
TEXT_COLOR_SHOULD_BE_GREEN: 131,
|
|
6632
6648
|
TEXT_COLOR_SHOULD_BE_RED: 132,
|
|
6633
6649
|
TEXT_SHOULD_BE_BLACK: 133,
|
|
6650
|
+
SECURITY_TEXT_IS_ABSENT: 134,
|
|
6634
6651
|
BARCODE_WAS_READ_WITH_ERRORS: 140,
|
|
6635
6652
|
BARCODE_DATA_FORMAT_ERROR: 141,
|
|
6636
6653
|
BARCODE_SIZE_PARAMS_ERROR: 142,
|
|
@@ -177,6 +177,12 @@ export class Functionality {
|
|
|
177
177
|
this._set({ "exposure": val });
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
+
get videoRecordingSizeDownscaleFactor() { return this._videoRecordingSizeDownscaleFactor; }
|
|
181
|
+
set videoRecordingSizeDownscaleFactor(val) {
|
|
182
|
+
this._videoRecordingSizeDownscaleFactor = val;
|
|
183
|
+
this._set({ "videoRecordingSizeDownscaleFactor": val });
|
|
184
|
+
}
|
|
185
|
+
|
|
180
186
|
get excludedCamera2Models() { return this._excludedCamera2Models; }
|
|
181
187
|
set excludedCamera2Models(val) {
|
|
182
188
|
this._excludedCamera2Models = val;
|
|
@@ -228,6 +234,7 @@ export class Functionality {
|
|
|
228
234
|
result._btDeviceName = jsonObject["btDeviceName"];
|
|
229
235
|
result._zoomFactor = jsonObject["zoomFactor"];
|
|
230
236
|
result._exposure = jsonObject["exposure"];
|
|
237
|
+
result._videoRecordingSizeDownscaleFactor = jsonObject["videoRecordingSizeDownscaleFactor"];
|
|
231
238
|
result._excludedCamera2Models = jsonObject["excludedCamera2Models"];
|
|
232
239
|
result._cameraResolutionAndroid = CameraSize.fromJson(jsonObject["cameraSize"]);
|
|
233
240
|
result._cameraResolutionIOS = jsonObject["videoSessionPreset"];
|
|
@@ -266,6 +273,7 @@ export class Functionality {
|
|
|
266
273
|
"btDeviceName": this.btDeviceName,
|
|
267
274
|
"zoomFactor": this.zoomFactor,
|
|
268
275
|
"exposure": this.exposure,
|
|
276
|
+
"videoRecordingSizeDownscaleFactor": this.videoRecordingSizeDownscaleFactor,
|
|
269
277
|
"excludedCamera2Models": this.excludedCamera2Models,
|
|
270
278
|
"cameraSize": this.cameraResolutionAndroid?.toJson(),
|
|
271
279
|
"videoSessionPreset": this.cameraResolutionIOS,
|
|
@@ -235,6 +235,12 @@ export class ProcessParams {
|
|
|
235
235
|
this._set({ "disableAuthResolutionFilter": val });
|
|
236
236
|
}
|
|
237
237
|
|
|
238
|
+
get strictSecurityChecks() { return this._strictSecurityChecks; }
|
|
239
|
+
set strictSecurityChecks(val) {
|
|
240
|
+
this._strictSecurityChecks = val;
|
|
241
|
+
this._set({ "strictSecurityChecks": val });
|
|
242
|
+
}
|
|
243
|
+
|
|
238
244
|
get barcodeParserType() { return this._barcodeParserType; }
|
|
239
245
|
set barcodeParserType(val) {
|
|
240
246
|
this._barcodeParserType = val;
|
|
@@ -499,6 +505,7 @@ export class ProcessParams {
|
|
|
499
505
|
result._strictDLCategoryExpiry = jsonObject["strictDLCategoryExpiry"];
|
|
500
506
|
result._generateAlpha2Codes = jsonObject["generateAlpha2Codes"];
|
|
501
507
|
result._disableAuthResolutionFilter = jsonObject["disableAuthResolutionFilter"];
|
|
508
|
+
result._strictSecurityChecks = jsonObject["strictSecurityChecks"];
|
|
502
509
|
result._barcodeParserType = jsonObject["barcodeParserType"];
|
|
503
510
|
result._perspectiveAngle = jsonObject["perspectiveAngle"];
|
|
504
511
|
result._minDPI = jsonObject["minDPI"];
|
|
@@ -580,6 +587,7 @@ export class ProcessParams {
|
|
|
580
587
|
"strictDLCategoryExpiry": this.strictDLCategoryExpiry,
|
|
581
588
|
"generateAlpha2Codes": this.generateAlpha2Codes,
|
|
582
589
|
"disableAuthResolutionFilter": this.disableAuthResolutionFilter,
|
|
590
|
+
"strictSecurityChecks": this.strictSecurityChecks,
|
|
583
591
|
"measureSystem": this.measureSystem,
|
|
584
592
|
"barcodeParserType": this.barcodeParserType,
|
|
585
593
|
"perspectiveAngle": this.perspectiveAngle,
|
|
@@ -75,6 +75,7 @@ export const CheckDiagnose = {
|
|
|
75
75
|
TEXT_COLOR_SHOULD_BE_GREEN: 131,
|
|
76
76
|
TEXT_COLOR_SHOULD_BE_RED: 132,
|
|
77
77
|
TEXT_SHOULD_BE_BLACK: 133,
|
|
78
|
+
SECURITY_TEXT_IS_ABSENT: 134,
|
|
78
79
|
BARCODE_WAS_READ_WITH_ERRORS: 140,
|
|
79
80
|
BARCODE_DATA_FORMAT_ERROR: 141,
|
|
80
81
|
BARCODE_SIZE_PARAMS_ERROR: 142,
|