@regulaforensics/react-native-document-reader-api 7.3.669-nightly → 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.
@@ -14,6 +14,6 @@ Pod::Spec.new do |s|
14
14
  s.source = { :http => 'file:' + __dir__ }
15
15
  s.ios.deployment_target = '11.0'
16
16
  s.source_files = "ios/*.{h,m}"
17
- s.dependency 'DocumentReaderNightly', '7.3.3753'
17
+ s.dependency 'DocumentReaderStage', '7.3.3752'
18
18
  s.dependency 'React'
19
19
  end
@@ -32,7 +32,7 @@ android {
32
32
  rootProject.allprojects {
33
33
  repositories {
34
34
  maven {
35
- url "https://maven.regulaforensics.com/RegulaDocumentReader/Nightly"
35
+ url "https://maven.regulaforensics.com/RegulaDocumentReader/Stage"
36
36
  }
37
37
  }
38
38
  }
@@ -41,7 +41,7 @@ dependencies {
41
41
  //noinspection GradleDynamicVersion
42
42
  implementation 'com.facebook.react:react-native:+'
43
43
  //noinspection GradleDependency
44
- implementation('com.regula.documentreader:api:7.3.10017') {
44
+ implementation('com.regula.documentreader:api:7.3.10016') {
45
45
  transitive = true
46
46
  }
47
47
  }
@@ -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,
@@ -10,8 +10,8 @@
10
10
  "test": "jest"
11
11
  },
12
12
  "dependencies": {
13
- "@regulaforensics/react-native-document-reader-api": "7.3.669-nightly",
14
- "@regulaforensics/react-native-document-reader-core-fullauthrfid": "7.3.572-nightly",
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[@"logLevel"] = processParams.logLevel;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regulaforensics/react-native-document-reader-api",
3
- "version": "7.3.669-nightly",
3
+ "version": "7.3.670-rc",
4
4
  "description": "React Native module for reading and validation of identification documents (API framework)",
5
5
  "main": "index.js",
6
6
  "scripts": {