@regulaforensics/react-native-document-reader-api 9.2.411-nightly → 9.2.412-beta
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 'DocumentReaderBeta', '9.2.5881'
|
|
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/Beta"
|
|
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.12373') {
|
|
33
33
|
transitive = true
|
|
34
34
|
}
|
|
35
35
|
}
|
|
@@ -18,6 +18,7 @@ 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
|
|
21
22
|
import com.regula.documentreader.api.params.RfidScenario
|
|
22
23
|
import com.regula.documentreader.api.params.rfid.dg.DTCDataGroup
|
|
23
24
|
import com.regula.documentreader.api.params.rfid.dg.DataGroups
|
|
@@ -147,7 +148,11 @@ fun setProcessParams(processParams: ProcessParam, opts: JSONObject) = opts.forEa
|
|
|
147
148
|
"strictSecurityChecks" -> processParams.strictSecurityChecks = v as Boolean
|
|
148
149
|
"returnTransliteratedFields" -> processParams.returnTransliteratedFields = v as Boolean
|
|
149
150
|
"checkCaptureProcessIntegrity" -> processParams.checkCaptureProcessIntegrity = v as Boolean
|
|
150
|
-
"
|
|
151
|
+
"bsiTr03135" -> {
|
|
152
|
+
val temp = Bsi()
|
|
153
|
+
temp.generateResult = (v as JSONObject).getBooleanOrNull("generateResult")
|
|
154
|
+
processParams.bsiTr03135 = temp
|
|
155
|
+
}
|
|
151
156
|
"measureSystem" -> processParams.measureSystem = v.toInt()
|
|
152
157
|
"barcodeParserType" -> processParams.barcodeParserType = v.toInt()
|
|
153
158
|
"perspectiveAngle" -> processParams.perspectiveAngle = v.toInt()
|
|
@@ -237,7 +242,9 @@ fun getProcessParams(processParams: ProcessParam) = mapOf(
|
|
|
237
242
|
"strictSecurityChecks" to processParams.strictSecurityChecks,
|
|
238
243
|
"returnTransliteratedFields" to processParams.returnTransliteratedFields,
|
|
239
244
|
"checkCaptureProcessIntegrity" to processParams.checkCaptureProcessIntegrity,
|
|
240
|
-
"
|
|
245
|
+
"bsiTr03135" to mapOf(
|
|
246
|
+
"generateResult" to processParams.bsiTr03135?.generateResult
|
|
247
|
+
).toJson(),
|
|
241
248
|
"measureSystem" to processParams.measureSystem,
|
|
242
249
|
"barcodeParserType" to processParams.barcodeParserType,
|
|
243
250
|
"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.412-beta",
|
|
14
|
+
"@regulaforensics/react-native-document-reader-core-fullauthrfid": "9.2.1807-rc",
|
|
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
|
+
bsiTr03135?: Bsi
|
|
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.bsiTr03135 = Bsi.fromJson(jsonObject["bsiTr03135"])
|
|
2343
2343
|
result.barcodeParserType = jsonObject["barcodeParserType"]
|
|
2344
2344
|
result.perspectiveAngle = jsonObject["perspectiveAngle"]
|
|
2345
2345
|
result.minDPI = jsonObject["minDPI"]
|
|
@@ -2446,6 +2446,19 @@ 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
|
+
|
|
2449
2462
|
export class CustomizationColors {
|
|
2450
2463
|
rfidProcessingScreenBackground?: number
|
|
2451
2464
|
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.bsiTr03135 = Bsi.fromJson(jsonObject["bsiTr03135"])
|
|
1542
1542
|
result.barcodeParserType = jsonObject["barcodeParserType"]
|
|
1543
1543
|
result.perspectiveAngle = jsonObject["perspectiveAngle"]
|
|
1544
1544
|
result.minDPI = jsonObject["minDPI"]
|
|
@@ -1623,6 +1623,17 @@ 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
|
+
|
|
1626
1637
|
export class CustomizationColors {
|
|
1627
1638
|
static fromJson(jsonObject) {
|
|
1628
1639
|
if (jsonObject == null) return null
|
package/ios/RGLWConfig.m
CHANGED
|
@@ -194,7 +194,10 @@
|
|
|
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[@"
|
|
197
|
+
if (options[@"bsiTr03135"]) {
|
|
198
|
+
processParams.bsiTr03135 = [RGLBsi new];
|
|
199
|
+
processParams.bsiTr03135.generateResult = options[@"bsiTr03135"][@"generateResult"];
|
|
200
|
+
}
|
|
198
201
|
|
|
199
202
|
// Int
|
|
200
203
|
if([options valueForKey:@"measureSystem"] != nil)
|
|
@@ -326,7 +329,9 @@
|
|
|
326
329
|
result[@"strictSecurityChecks"] = processParams.strictSecurityChecks;
|
|
327
330
|
result[@"returnTransliteratedFields"] = processParams.returnTransliteratedFields;
|
|
328
331
|
result[@"checkCaptureProcessIntegrity"] = processParams.checkCaptureProcessIntegrity;
|
|
329
|
-
result[@"
|
|
332
|
+
if(processParams.bsiTr03135) result[@"bsiTr03135"] = @{
|
|
333
|
+
@"generateResult": processParams.bsiTr03135.generateResult,
|
|
334
|
+
};
|
|
330
335
|
|
|
331
336
|
// Int
|
|
332
337
|
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.412-beta",
|
|
4
4
|
"description": "React Native module for reading and validation of identification documents (API framework)",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|