@regulaforensics/react-native-document-reader-api 9.2.412-beta → 9.2.413-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.
|
@@ -14,6 +14,6 @@ Pod::Spec.new do |s|
|
|
|
14
14
|
s.source = { :http => 'file:' + __dir__ }
|
|
15
15
|
s.ios.deployment_target = '13.0'
|
|
16
16
|
s.source_files = "ios/*.{h,m}"
|
|
17
|
-
s.dependency '
|
|
17
|
+
s.dependency 'DocumentReaderNightly', '9.2.5882'
|
|
18
18
|
s.dependency 'React'
|
|
19
19
|
end
|
package/android/build.gradle
CHANGED
|
@@ -20,7 +20,7 @@ android {
|
|
|
20
20
|
rootProject.allprojects {
|
|
21
21
|
repositories {
|
|
22
22
|
maven {
|
|
23
|
-
url "https://maven.regulaforensics.com/RegulaDocumentReader/
|
|
23
|
+
url "https://maven.regulaforensics.com/RegulaDocumentReader/Nightly"
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
}
|
|
@@ -29,7 +29,7 @@ dependencies {
|
|
|
29
29
|
//noinspection GradleDynamicVersion
|
|
30
30
|
implementation 'com.facebook.react:react-native:+'
|
|
31
31
|
//noinspection GradleDependency
|
|
32
|
-
implementation('com.regula.documentreader:api:9.2.
|
|
32
|
+
implementation('com.regula.documentreader:api:9.2.12374') {
|
|
33
33
|
transitive = true
|
|
34
34
|
}
|
|
35
35
|
}
|
|
@@ -18,7 +18,6 @@ import com.regula.documentreader.api.params.ImageQA
|
|
|
18
18
|
import com.regula.documentreader.api.params.LivenessParams
|
|
19
19
|
import com.regula.documentreader.api.params.ParamsCustomization
|
|
20
20
|
import com.regula.documentreader.api.params.ProcessParam
|
|
21
|
-
import com.regula.documentreader.api.params.Bsi
|
|
22
21
|
import com.regula.documentreader.api.params.RfidScenario
|
|
23
22
|
import com.regula.documentreader.api.params.rfid.dg.DTCDataGroup
|
|
24
23
|
import com.regula.documentreader.api.params.rfid.dg.DataGroups
|
|
@@ -148,11 +147,7 @@ fun setProcessParams(processParams: ProcessParam, opts: JSONObject) = opts.forEa
|
|
|
148
147
|
"strictSecurityChecks" -> processParams.strictSecurityChecks = v as Boolean
|
|
149
148
|
"returnTransliteratedFields" -> processParams.returnTransliteratedFields = v as Boolean
|
|
150
149
|
"checkCaptureProcessIntegrity" -> processParams.checkCaptureProcessIntegrity = v as Boolean
|
|
151
|
-
"
|
|
152
|
-
val temp = Bsi()
|
|
153
|
-
temp.generateResult = (v as JSONObject).getBooleanOrNull("generateResult")
|
|
154
|
-
processParams.bsiTr03135 = temp
|
|
155
|
-
}
|
|
150
|
+
"bsiTr03135Results" -> processParams.bsiTr03135Results = v as Boolean
|
|
156
151
|
"measureSystem" -> processParams.measureSystem = v.toInt()
|
|
157
152
|
"barcodeParserType" -> processParams.barcodeParserType = v.toInt()
|
|
158
153
|
"perspectiveAngle" -> processParams.perspectiveAngle = v.toInt()
|
|
@@ -242,9 +237,7 @@ fun getProcessParams(processParams: ProcessParam) = mapOf(
|
|
|
242
237
|
"strictSecurityChecks" to processParams.strictSecurityChecks,
|
|
243
238
|
"returnTransliteratedFields" to processParams.returnTransliteratedFields,
|
|
244
239
|
"checkCaptureProcessIntegrity" to processParams.checkCaptureProcessIntegrity,
|
|
245
|
-
"
|
|
246
|
-
"generateResult" to processParams.bsiTr03135?.generateResult
|
|
247
|
-
).toJson(),
|
|
240
|
+
"bsiTr03135Results" to processParams.bsiTr03135Results,
|
|
248
241
|
"measureSystem" to processParams.measureSystem,
|
|
249
242
|
"barcodeParserType" to processParams.barcodeParserType,
|
|
250
243
|
"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": "9.2.
|
|
14
|
-
"@regulaforensics/react-native-document-reader-core-fullauthrfid": "9.2.
|
|
13
|
+
"@regulaforensics/react-native-document-reader-api": "9.2.413-nightly",
|
|
14
|
+
"@regulaforensics/react-native-document-reader-core-fullauthrfid": "9.2.1823-nightly",
|
|
15
15
|
"@rneui/base": "4.0.0-rc.7",
|
|
16
16
|
"@rneui/themed": "4.0.0-rc.7",
|
|
17
17
|
"react": "19.0.0",
|
package/index.d.ts
CHANGED
|
@@ -2253,7 +2253,7 @@ export class ProcessParams {
|
|
|
2253
2253
|
strictSecurityChecks?: boolean
|
|
2254
2254
|
returnTransliteratedFields?: boolean
|
|
2255
2255
|
checkCaptureProcessIntegrity?: boolean
|
|
2256
|
-
|
|
2256
|
+
bsiTr03135Results?: boolean
|
|
2257
2257
|
barcodeParserType?: number
|
|
2258
2258
|
perspectiveAngle?: number
|
|
2259
2259
|
minDPI?: number
|
|
@@ -2339,7 +2339,7 @@ export class ProcessParams {
|
|
|
2339
2339
|
result.strictSecurityChecks = jsonObject["strictSecurityChecks"]
|
|
2340
2340
|
result.returnTransliteratedFields = jsonObject["returnTransliteratedFields"]
|
|
2341
2341
|
result.checkCaptureProcessIntegrity = jsonObject["checkCaptureProcessIntegrity"]
|
|
2342
|
-
result.
|
|
2342
|
+
result.bsiTr03135Results = jsonObject["bsiTr03135Results"]
|
|
2343
2343
|
result.barcodeParserType = jsonObject["barcodeParserType"]
|
|
2344
2344
|
result.perspectiveAngle = jsonObject["perspectiveAngle"]
|
|
2345
2345
|
result.minDPI = jsonObject["minDPI"]
|
|
@@ -2446,19 +2446,6 @@ export class Font {
|
|
|
2446
2446
|
}
|
|
2447
2447
|
}
|
|
2448
2448
|
|
|
2449
|
-
export class Bsi {
|
|
2450
|
-
generateResult?: boolean
|
|
2451
|
-
|
|
2452
|
-
static fromJson(jsonObject?: any): Bsi | undefined {
|
|
2453
|
-
if (jsonObject == null || jsonObject == undefined) return undefined
|
|
2454
|
-
const result = new Bsi
|
|
2455
|
-
|
|
2456
|
-
result.generateResult = jsonObject["generateResult"]
|
|
2457
|
-
|
|
2458
|
-
return result
|
|
2459
|
-
}
|
|
2460
|
-
}
|
|
2461
|
-
|
|
2462
2449
|
export class CustomizationColors {
|
|
2463
2450
|
rfidProcessingScreenBackground?: number
|
|
2464
2451
|
rfidProcessingScreenHintLabelText?: number
|
package/index.js
CHANGED
|
@@ -1538,7 +1538,7 @@ export class ProcessParams {
|
|
|
1538
1538
|
result.strictSecurityChecks = jsonObject["strictSecurityChecks"]
|
|
1539
1539
|
result.returnTransliteratedFields = jsonObject["returnTransliteratedFields"]
|
|
1540
1540
|
result.checkCaptureProcessIntegrity = jsonObject["checkCaptureProcessIntegrity"]
|
|
1541
|
-
result.
|
|
1541
|
+
result.bsiTr03135Results = jsonObject["bsiTr03135Results"]
|
|
1542
1542
|
result.barcodeParserType = jsonObject["barcodeParserType"]
|
|
1543
1543
|
result.perspectiveAngle = jsonObject["perspectiveAngle"]
|
|
1544
1544
|
result.minDPI = jsonObject["minDPI"]
|
|
@@ -1623,17 +1623,6 @@ export class Font {
|
|
|
1623
1623
|
}
|
|
1624
1624
|
}
|
|
1625
1625
|
|
|
1626
|
-
export class Bsi {
|
|
1627
|
-
static fromJson(jsonObject) {
|
|
1628
|
-
if (jsonObject == null) return null
|
|
1629
|
-
const result = new Bsi()
|
|
1630
|
-
|
|
1631
|
-
result.generateResult = jsonObject["generateResult"]
|
|
1632
|
-
|
|
1633
|
-
return result
|
|
1634
|
-
}
|
|
1635
|
-
}
|
|
1636
|
-
|
|
1637
1626
|
export class CustomizationColors {
|
|
1638
1627
|
static fromJson(jsonObject) {
|
|
1639
1628
|
if (jsonObject == null) return null
|
package/ios/RGLWConfig.m
CHANGED
|
@@ -194,10 +194,7 @@
|
|
|
194
194
|
if (options[@"strictSecurityChecks"]) processParams.strictSecurityChecks = options[@"strictSecurityChecks"];
|
|
195
195
|
if (options[@"returnTransliteratedFields"]) processParams.returnTransliteratedFields = options[@"returnTransliteratedFields"];
|
|
196
196
|
if (options[@"checkCaptureProcessIntegrity"]) processParams.checkCaptureProcessIntegrity = options[@"checkCaptureProcessIntegrity"];
|
|
197
|
-
if (options[@"
|
|
198
|
-
processParams.bsiTr03135 = [RGLBsi new];
|
|
199
|
-
processParams.bsiTr03135.generateResult = options[@"bsiTr03135"][@"generateResult"];
|
|
200
|
-
}
|
|
197
|
+
if (options[@"bsiTr03135Results"]) processParams.bsiTr03135Results = options[@"bsiTr03135Results"];
|
|
201
198
|
|
|
202
199
|
// Int
|
|
203
200
|
if([options valueForKey:@"measureSystem"] != nil)
|
|
@@ -329,9 +326,7 @@
|
|
|
329
326
|
result[@"strictSecurityChecks"] = processParams.strictSecurityChecks;
|
|
330
327
|
result[@"returnTransliteratedFields"] = processParams.returnTransliteratedFields;
|
|
331
328
|
result[@"checkCaptureProcessIntegrity"] = processParams.checkCaptureProcessIntegrity;
|
|
332
|
-
|
|
333
|
-
@"generateResult": processParams.bsiTr03135.generateResult,
|
|
334
|
-
};
|
|
329
|
+
result[@"bsiTr03135Results"] = processParams.bsiTr03135Results;
|
|
335
330
|
|
|
336
331
|
// Int
|
|
337
332
|
result[@"measureSystem"] = [NSNumber numberWithInteger:processParams.measureSystem];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@regulaforensics/react-native-document-reader-api",
|
|
3
|
-
"version": "9.2.
|
|
3
|
+
"version": "9.2.413-nightly",
|
|
4
4
|
"description": "React Native module for reading and validation of identification documents (API framework)",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|