@regulaforensics/react-native-document-reader-api 7.3.668-rc → 7.3.670-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.
|
@@ -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/example/package.json
CHANGED
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"test": "jest"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@regulaforensics/react-native-document-reader-api": "7.3.
|
|
14
|
-
"@regulaforensics/react-native-document-reader-core-fullauthrfid": "7.3.
|
|
13
|
+
"@regulaforensics/react-native-document-reader-api": "7.3.670-rc",
|
|
14
|
+
"@regulaforensics/react-native-document-reader-core-fullauthrfid": "7.3.573-rc",
|
|
15
15
|
"react-native-progress": "5.0.0",
|
|
16
16
|
"react-native-radio-buttons-group": "3.0.5",
|
|
17
17
|
"@rneui/base": "4.0.0-rc.7",
|
package/index.d.ts
CHANGED
|
@@ -2104,6 +2104,7 @@ export class ProcessParams {
|
|
|
2104
2104
|
useFaceApi?: boolean
|
|
2105
2105
|
useAuthenticityCheck?: boolean
|
|
2106
2106
|
checkHologram?: boolean
|
|
2107
|
+
generateNumericCodes?: boolean
|
|
2107
2108
|
barcodeParserType?: number
|
|
2108
2109
|
perspectiveAngle?: number
|
|
2109
2110
|
minDPI?: number
|
|
@@ -2177,6 +2178,7 @@ export class ProcessParams {
|
|
|
2177
2178
|
result.useFaceApi = jsonObject["useFaceApi"]
|
|
2178
2179
|
result.useAuthenticityCheck = jsonObject["useAuthenticityCheck"]
|
|
2179
2180
|
result.checkHologram = jsonObject["checkHologram"]
|
|
2181
|
+
result.generateNumericCodes = jsonObject["generateNumericCodes"]
|
|
2180
2182
|
result.barcodeParserType = jsonObject["barcodeParserType"]
|
|
2181
2183
|
result.perspectiveAngle = jsonObject["perspectiveAngle"]
|
|
2182
2184
|
result.minDPI = jsonObject["minDPI"]
|
package/index.js
CHANGED
|
@@ -1445,6 +1445,7 @@ export class ProcessParams {
|
|
|
1445
1445
|
result.useFaceApi = jsonObject["useFaceApi"]
|
|
1446
1446
|
result.useAuthenticityCheck = jsonObject["useAuthenticityCheck"]
|
|
1447
1447
|
result.checkHologram = jsonObject["checkHologram"]
|
|
1448
|
+
result.generateNumericCodes = jsonObject["generateNumericCodes"]
|
|
1448
1449
|
result.barcodeParserType = jsonObject["barcodeParserType"]
|
|
1449
1450
|
result.perspectiveAngle = jsonObject["perspectiveAngle"]
|
|
1450
1451
|
result.minDPI = jsonObject["minDPI"]
|
package/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/package.json
CHANGED