@regulaforensics/cordova-plugin-document-reader-api 7.3.551-nightly → 7.3.554-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/example/package.json +2 -2
- package/package.json +1 -1
- package/plugin.xml +2 -2
- package/src/android/Config.kt +2 -0
- package/src/android/build.gradle +2 -2
- package/src/ios/RGLWConfig.m +4 -2
- package/www/DocumentReader.js +1 -0
package/example/package.json
CHANGED
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
"author": "Regula Forensics Inc.",
|
|
14
14
|
"license": "commercial",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@regulaforensics/cordova-plugin-document-reader-api": "7.3.
|
|
17
|
-
"@regulaforensics/cordova-plugin-document-reader-core-fullauthrfid": "7.3.
|
|
16
|
+
"@regulaforensics/cordova-plugin-document-reader-api": "7.3.554-rc",
|
|
17
|
+
"@regulaforensics/cordova-plugin-document-reader-core-fullauthrfid": "7.3.558-rc",
|
|
18
18
|
"cordova-android": "12.0.1",
|
|
19
19
|
"cordova-ios": "7.0.1",
|
|
20
20
|
"cordova-plugin-add-swift-support": "2.0.2",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@regulaforensics/cordova-plugin-document-reader-api",
|
|
3
|
-
"version": "7.3.
|
|
3
|
+
"version": "7.3.554-rc",
|
|
4
4
|
"description": "Cordova plugin for reading and validation of identification documents (API framework)",
|
|
5
5
|
"cordova": {
|
|
6
6
|
"id": "@regulaforensics/cordova-plugin-document-reader-api",
|
package/plugin.xml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<?xml version='1.0' encoding='utf-8'?>
|
|
2
|
-
<plugin id="cordova-plugin-document-reader-api" version="7.3.
|
|
2
|
+
<plugin id="cordova-plugin-document-reader-api" version="7.3.554-rc"
|
|
3
3
|
xmlns="http://apache.org/cordova/ns/plugins/1.0">
|
|
4
4
|
<name>DocumentReaderApi</name>
|
|
5
5
|
<description>Cordova plugin Document reader api</description>
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
<config>
|
|
27
27
|
</config>
|
|
28
28
|
<pods>
|
|
29
|
-
<pod name="
|
|
29
|
+
<pod name="DocumentReaderStage" spec="7.3.3758" />
|
|
30
30
|
</pods>
|
|
31
31
|
</podspec>
|
|
32
32
|
</platform>
|
package/src/android/Config.kt
CHANGED
|
@@ -134,6 +134,7 @@ fun setProcessParams(processParams: ProcessParam, opts: JSONObject) = opts.forEa
|
|
|
134
134
|
"useFaceApi" -> processParams.useFaceApi = v as Boolean
|
|
135
135
|
"useAuthenticityCheck" -> processParams.useAuthenticityCheck = v as Boolean
|
|
136
136
|
"checkHologram" -> processParams.checkHologram = v as Boolean
|
|
137
|
+
"generateNumericCodes" -> processParams.generateNumericCodes = v as Boolean
|
|
137
138
|
"measureSystem" -> processParams.measureSystem = v.toInt()
|
|
138
139
|
"barcodeParserType" -> processParams.barcodeParserType = v.toInt()
|
|
139
140
|
"perspectiveAngle" -> processParams.perspectiveAngle = v.toInt()
|
|
@@ -211,6 +212,7 @@ fun getProcessParams(processParams: ProcessParam) = mapOf(
|
|
|
211
212
|
"useFaceApi" to processParams.useFaceApi,
|
|
212
213
|
"useAuthenticityCheck" to processParams.useAuthenticityCheck,
|
|
213
214
|
"checkHologram" to processParams.checkHologram,
|
|
215
|
+
"generateNumericCodes" to processParams.generateNumericCodes,
|
|
214
216
|
"measureSystem" to processParams.measureSystem,
|
|
215
217
|
"barcodeParserType" to processParams.barcodeParserType,
|
|
216
218
|
"perspectiveAngle" to processParams.perspectiveAngle,
|
package/src/android/build.gradle
CHANGED
|
@@ -10,13 +10,13 @@ android {
|
|
|
10
10
|
|
|
11
11
|
repositories {
|
|
12
12
|
maven {
|
|
13
|
-
url "https://maven.regulaforensics.com/RegulaDocumentReader/
|
|
13
|
+
url "https://maven.regulaforensics.com/RegulaDocumentReader/Stage"
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
dependencies {
|
|
18
18
|
//noinspection GradleDependency
|
|
19
|
-
implementation ('com.regula.documentreader:api:7.3.
|
|
19
|
+
implementation ('com.regula.documentreader:api:7.3.10019'){
|
|
20
20
|
transitive = true
|
|
21
21
|
}
|
|
22
22
|
}
|
package/src/ios/RGLWConfig.m
CHANGED
|
@@ -190,6 +190,7 @@
|
|
|
190
190
|
processParams.useAuthenticityCheck = [options valueForKey:@"useAuthenticityCheck"];
|
|
191
191
|
if([options valueForKey:@"checkHologram"] != nil)
|
|
192
192
|
processParams.checkHologram = [options valueForKey:@"checkHologram"];
|
|
193
|
+
if (options[@"generateNumericCodes"]) processParams.generateNumericCodes = options[@"generateNumericCodes"];
|
|
193
194
|
|
|
194
195
|
// Int
|
|
195
196
|
if([options valueForKey:@"measureSystem"] != nil)
|
|
@@ -312,8 +313,7 @@
|
|
|
312
313
|
result[@"useFaceApi"] = processParams.useFaceApi;
|
|
313
314
|
result[@"useAuthenticityCheck"] = processParams.useAuthenticityCheck;
|
|
314
315
|
result[@"checkHologram"] = processParams.checkHologram;
|
|
315
|
-
result[@"
|
|
316
|
-
result[@"mrzDetectMode"] = processParams.mrzDetectMode;
|
|
316
|
+
result[@"generateNumericCodes"] = processParams.generateNumericCodes;
|
|
317
317
|
|
|
318
318
|
// Int
|
|
319
319
|
result[@"measureSystem"] = [NSNumber numberWithInteger:processParams.measureSystem];
|
|
@@ -329,6 +329,8 @@
|
|
|
329
329
|
result[@"imageOutputMaxWidth"] = processParams.imageOutputMaxWidth;
|
|
330
330
|
result[@"processAuth"] = processParams.processAuth;
|
|
331
331
|
result[@"convertCase"] = [self generateWithTextProcessing:processParams.convertCase];
|
|
332
|
+
result[@"logLevel"] = processParams.logLevel;
|
|
333
|
+
result[@"mrzDetectMode"] = processParams.mrzDetectMode;
|
|
332
334
|
|
|
333
335
|
// String
|
|
334
336
|
result[@"dateFormat"] = processParams.dateFormat;
|
package/www/DocumentReader.js
CHANGED
|
@@ -1370,6 +1370,7 @@ class ProcessParams {
|
|
|
1370
1370
|
result.useFaceApi = jsonObject["useFaceApi"]
|
|
1371
1371
|
result.useAuthenticityCheck = jsonObject["useAuthenticityCheck"]
|
|
1372
1372
|
result.checkHologram = jsonObject["checkHologram"]
|
|
1373
|
+
result.generateNumericCodes = jsonObject["generateNumericCodes"]
|
|
1373
1374
|
result.barcodeParserType = jsonObject["barcodeParserType"]
|
|
1374
1375
|
result.perspectiveAngle = jsonObject["perspectiveAngle"]
|
|
1375
1376
|
result.minDPI = jsonObject["minDPI"]
|