@regulaforensics/cordova-plugin-document-reader-api 8.4.276-rc → 8.4.277-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/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 +2 -0
- 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": "8.4.
|
|
17
|
-
"@regulaforensics/cordova-plugin-document-reader-core-fullauthrfid": "8.4.
|
|
16
|
+
"@regulaforensics/cordova-plugin-document-reader-api": "8.4.277-nightly",
|
|
17
|
+
"@regulaforensics/cordova-plugin-document-reader-core-fullauthrfid": "8.4.1006-nightly",
|
|
18
18
|
"cordova-android": "13.0.0",
|
|
19
19
|
"cordova-ios": "7.1.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": "8.4.
|
|
3
|
+
"version": "8.4.277-nightly",
|
|
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="@regulaforensics/cordova-plugin-document-reader-api" version="8.4.
|
|
2
|
+
<plugin id="@regulaforensics/cordova-plugin-document-reader-api" version="8.4.277-nightly" xmlns="http://apache.org/cordova/ns/plugins/1.0">
|
|
3
3
|
<name>DocumentReaderApi</name>
|
|
4
4
|
<description>Cordova plugin Document reader api</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="DocumentReaderNightly" spec="8.4.5316" />
|
|
33
33
|
</pods>
|
|
34
34
|
</podspec>
|
|
35
35
|
</platform>
|
package/src/android/Config.kt
CHANGED
|
@@ -143,6 +143,7 @@ fun setProcessParams(processParams: ProcessParam, opts: JSONObject) = opts.forEa
|
|
|
143
143
|
"generateAlpha2Codes" -> processParams.generateAlpha2Codes = v as Boolean
|
|
144
144
|
"disableAuthResolutionFilter" -> processParams.disableAuthResolutionFilter = v as Boolean
|
|
145
145
|
"strictSecurityChecks" -> processParams.strictSecurityChecks = v as Boolean
|
|
146
|
+
"returnTransliteratedFields" -> processParams.returnTransliteratedFields = v as Boolean
|
|
146
147
|
"measureSystem" -> processParams.measureSystem = v.toInt()
|
|
147
148
|
"barcodeParserType" -> processParams.barcodeParserType = v.toInt()
|
|
148
149
|
"perspectiveAngle" -> processParams.perspectiveAngle = v.toInt()
|
|
@@ -239,6 +240,7 @@ fun getProcessParams(processParams: ProcessParam) = mapOf(
|
|
|
239
240
|
"generateAlpha2Codes" to processParams.generateAlpha2Codes,
|
|
240
241
|
"disableAuthResolutionFilter" to processParams.disableAuthResolutionFilter,
|
|
241
242
|
"strictSecurityChecks" to processParams.strictSecurityChecks,
|
|
243
|
+
"returnTransliteratedFields" to processParams.returnTransliteratedFields,
|
|
242
244
|
"measureSystem" to processParams.measureSystem,
|
|
243
245
|
"barcodeParserType" to processParams.barcodeParserType,
|
|
244
246
|
"perspectiveAngle" to processParams.perspectiveAngle,
|
package/src/android/build.gradle
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
repositories {
|
|
2
2
|
maven {
|
|
3
|
-
url "https://maven.regulaforensics.com/RegulaDocumentReader/
|
|
3
|
+
url "https://maven.regulaforensics.com/RegulaDocumentReader/Nightly"
|
|
4
4
|
}
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
dependencies {
|
|
8
8
|
//noinspection GradleDependency
|
|
9
|
-
implementation ('com.regula.documentreader:api:8.4.
|
|
9
|
+
implementation ('com.regula.documentreader:api:8.4.11991'){
|
|
10
10
|
transitive = true
|
|
11
11
|
}
|
|
12
12
|
}
|
package/src/ios/RGLWConfig.m
CHANGED
|
@@ -188,6 +188,7 @@
|
|
|
188
188
|
if (options[@"generateAlpha2Codes"]) processParams.generateAlpha2Codes = options[@"generateAlpha2Codes"];
|
|
189
189
|
if (options[@"disableAuthResolutionFilter"]) processParams.disableAuthResolutionFilter = options[@"disableAuthResolutionFilter"];
|
|
190
190
|
if (options[@"strictSecurityChecks"]) processParams.strictSecurityChecks = options[@"strictSecurityChecks"];
|
|
191
|
+
if (options[@"returnTransliteratedFields"]) processParams.returnTransliteratedFields = options[@"returnTransliteratedFields"];
|
|
191
192
|
|
|
192
193
|
// Int
|
|
193
194
|
if([options valueForKey:@"measureSystem"] != nil)
|
|
@@ -327,6 +328,7 @@
|
|
|
327
328
|
result[@"generateAlpha2Codes"] = processParams.generateAlpha2Codes;
|
|
328
329
|
result[@"disableAuthResolutionFilter"] = processParams.disableAuthResolutionFilter;
|
|
329
330
|
result[@"strictSecurityChecks"] = processParams.strictSecurityChecks;
|
|
331
|
+
result[@"returnTransliteratedFields"] = processParams.returnTransliteratedFields;
|
|
330
332
|
|
|
331
333
|
// Int
|
|
332
334
|
result[@"measureSystem"] = [NSNumber numberWithInteger:processParams.measureSystem];
|
package/www/DocumentReader.js
CHANGED
|
@@ -1393,6 +1393,7 @@ class ProcessParams {
|
|
|
1393
1393
|
result.generateAlpha2Codes = jsonObject["generateAlpha2Codes"]
|
|
1394
1394
|
result.disableAuthResolutionFilter = jsonObject["disableAuthResolutionFilter"]
|
|
1395
1395
|
result.strictSecurityChecks = jsonObject["strictSecurityChecks"]
|
|
1396
|
+
result.returnTransliteratedFields = jsonObject["returnTransliteratedFields"]
|
|
1396
1397
|
result.barcodeParserType = jsonObject["barcodeParserType"]
|
|
1397
1398
|
result.perspectiveAngle = jsonObject["perspectiveAngle"]
|
|
1398
1399
|
result.minDPI = jsonObject["minDPI"]
|