@regulaforensics/cordova-plugin-document-reader-api 7.3.501-nightly → 7.3.506-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.
- package/.github/ISSUE_TEMPLATE/config.yml +2 -2
- package/example/package.json +2 -2
- package/package.json +1 -1
- package/plugin.xml +2 -2
- package/src/android/Config.kt +9 -0
- package/src/android/DocumentReader.kt +12 -1
- package/src/android/build.gradle +2 -2
- package/src/ios/RGLWConfig.m +10 -0
- package/src/ios/RGLWDocumentReader.h +1 -1
- package/src/ios/RGLWDocumentReader.m +25 -1
- package/www/DocumentReader.js +35 -1
- package/.github/ISSUE_TEMPLATE/bug-report.md +0 -39
- package/.github/ISSUE_TEMPLATE/feature-request.md +0 -20
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
blank_issues_enabled: false
|
|
2
2
|
contact_links:
|
|
3
|
-
- name:
|
|
3
|
+
- name: Submit a request
|
|
4
4
|
url: https://support.regulaforensics.com/hc/requests/new?utm_source=github
|
|
5
|
-
about:
|
|
5
|
+
about: Submit any requests to Regula Support Team
|
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": "7.3.
|
|
17
|
-
"@regulaforensics/cordova-plugin-document-reader-core-fullauthrfid": "
|
|
16
|
+
"@regulaforensics/cordova-plugin-document-reader-api": "7.3.506-beta",
|
|
17
|
+
"@regulaforensics/cordova-plugin-document-reader-core-fullauthrfid": "",
|
|
18
18
|
"cordova-android": "12.0.1",
|
|
19
19
|
"cordova-ios": "7.0.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": "7.3.
|
|
3
|
+
"version": "7.3.506-beta",
|
|
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="cordova-plugin-document-reader-api" version="7.3.
|
|
2
|
+
<plugin id="cordova-plugin-document-reader-api" version="7.3.506-beta"
|
|
3
3
|
xmlns="http://apache.org/cordova/ns/plugins/1.0">
|
|
4
4
|
<name>DocumentReaderApi</name>
|
|
5
5
|
<description>Cordova plugin Document reader api</description>
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
<config>
|
|
27
27
|
</config>
|
|
28
28
|
<pods>
|
|
29
|
-
<pod name="
|
|
29
|
+
<pod name="DocumentReaderBeta" spec="7.3.3716" />
|
|
30
30
|
</pods>
|
|
31
31
|
</podspec>
|
|
32
32
|
</platform>
|
package/src/android/Config.kt
CHANGED
|
@@ -18,6 +18,7 @@ import androidx.core.content.ContextCompat
|
|
|
18
18
|
import com.regula.documentreader.api.enums.CustomizationColor
|
|
19
19
|
import com.regula.documentreader.api.enums.CustomizationFont
|
|
20
20
|
import com.regula.documentreader.api.enums.CustomizationImage
|
|
21
|
+
import com.regula.documentreader.api.enums.LogLevel
|
|
21
22
|
import com.regula.documentreader.api.params.AuthenticityParams
|
|
22
23
|
import com.regula.documentreader.api.params.Functionality
|
|
23
24
|
import com.regula.documentreader.api.params.ImageQA
|
|
@@ -146,6 +147,8 @@ fun setProcessParams(processParams: ProcessParam, opts: JSONObject) = opts.forEa
|
|
|
146
147
|
"imageOutputMaxWidth" -> processParams.imageOutputMaxWidth = v.toInt()
|
|
147
148
|
"processAuth" -> processParams.processAuth = v.toInt()
|
|
148
149
|
"convertCase" -> processParams.convertCase = v.toInt()
|
|
150
|
+
"logLevel" -> processParams.logLevel = LogLevel.valueOf(v.toString())
|
|
151
|
+
"mrzDetectMode" -> processParams.mrzDetectMode = v.toInt()
|
|
149
152
|
"dateFormat" -> processParams.dateFormat = v as String
|
|
150
153
|
"scenario" -> processParams.scenario = v as String
|
|
151
154
|
"captureButtonScenario" -> processParams.captureButtonScenario = v as String
|
|
@@ -154,6 +157,7 @@ fun setProcessParams(processParams: ProcessParam, opts: JSONObject) = opts.forEa
|
|
|
154
157
|
"timeoutFromFirstDetect" -> processParams.timeoutFromFirstDetect = v.toDouble()
|
|
155
158
|
"timeoutFromFirstDocType" -> processParams.timeoutFromFirstDocType = v.toDouble()
|
|
156
159
|
"documentAreaMin" -> processParams.documentAreaMin = v.toDouble()
|
|
160
|
+
"timeoutLiveness" -> processParams.timeoutLiveness = v.toDouble()
|
|
157
161
|
"documentIDList" -> processParams.documentIDList = v.toIntArray()
|
|
158
162
|
"fieldTypesFilter" -> processParams.fieldTypesFilter = v.toIntArray()
|
|
159
163
|
"resultTypeOutput" -> processParams.resultTypeOutput = v.toIntArray()
|
|
@@ -220,6 +224,8 @@ fun getProcessParams(processParams: ProcessParam) = mapOf(
|
|
|
220
224
|
"imageOutputMaxWidth" to processParams.imageOutputMaxWidth,
|
|
221
225
|
"processAuth" to processParams.processAuth,
|
|
222
226
|
"convertCase" to processParams.convertCase,
|
|
227
|
+
"logLevel" to processParams.logLevel?.toString(),
|
|
228
|
+
"mrzDetectMode" to processParams.mrzDetectMode,
|
|
223
229
|
"dateFormat" to processParams.dateFormat,
|
|
224
230
|
"scenario" to processParams.scenario,
|
|
225
231
|
"captureButtonScenario" to processParams.captureButtonScenario,
|
|
@@ -228,6 +234,7 @@ fun getProcessParams(processParams: ProcessParam) = mapOf(
|
|
|
228
234
|
"timeoutFromFirstDetect" to processParams.timeoutFromFirstDetect,
|
|
229
235
|
"timeoutFromFirstDocType" to processParams.timeoutFromFirstDocType,
|
|
230
236
|
"documentAreaMin" to processParams.documentAreaMin,
|
|
237
|
+
"timeoutLiveness" to processParams.timeoutLiveness,
|
|
231
238
|
"documentIDList" to processParams.documentIDList.generate(),
|
|
232
239
|
"fieldTypesFilter" to processParams.fieldTypesFilter.generate(),
|
|
233
240
|
"documentGroupFilter" to processParams.documentGroupFilter.generate(),
|
|
@@ -654,6 +661,7 @@ fun setColors(input: ParamsCustomization.CustomizationEditor, opts: JSONObject)
|
|
|
654
661
|
"rfidProcessingScreenProgressBar" -> input.setColor(CustomizationColor.RFID_PROCESSING_SCREEN_PROGRESS_BAR, value)
|
|
655
662
|
"rfidProcessingScreenProgressBarBackground" -> input.setColor(CustomizationColor.RFID_PROCESSING_SCREEN_PROGRESS_BAR_BACKGROUND, value)
|
|
656
663
|
"rfidProcessingScreenResultLabelText" -> input.setColor(CustomizationColor.RFID_PROCESSING_SCREEN_RESULT_LABEL_TEXT, value)
|
|
664
|
+
"rfidProcessingScreenLoadingBar" -> input.setColor(CustomizationColor.RFID_PROCESSING_SCREEN_LOADING_BAR, value)
|
|
657
665
|
}
|
|
658
666
|
}
|
|
659
667
|
|
|
@@ -665,6 +673,7 @@ fun getColors(input: Map<CustomizationColor, Long>) = mapOf(
|
|
|
665
673
|
"rfidProcessingScreenProgressBar" to input[CustomizationColor.RFID_PROCESSING_SCREEN_PROGRESS_BAR],
|
|
666
674
|
"rfidProcessingScreenProgressBarBackground" to input[CustomizationColor.RFID_PROCESSING_SCREEN_PROGRESS_BAR_BACKGROUND],
|
|
667
675
|
"rfidProcessingScreenResultLabelText" to input[CustomizationColor.RFID_PROCESSING_SCREEN_RESULT_LABEL_TEXT],
|
|
676
|
+
"rfidProcessingScreenLoadingBar" to input[CustomizationColor.RFID_PROCESSING_SCREEN_LOADING_BAR],
|
|
668
677
|
).toJsonObject()
|
|
669
678
|
|
|
670
679
|
fun setFonts(input: ParamsCustomization.CustomizationEditor, opts: JSONObject) = opts.forEach { key, value ->
|
|
@@ -104,6 +104,10 @@ fun exec(arguments: JSONArray, tempContext: CallbackContext) {
|
|
|
104
104
|
"setRfidSessionStatus" -> setRfidSessionStatus(callback)
|
|
105
105
|
"getTag" -> getTag(callback)
|
|
106
106
|
"setTag" -> setTag(argsNullable(0))
|
|
107
|
+
"getTenant" -> getTenant(callback)
|
|
108
|
+
"setTenant" -> setTenant(argsNullable(0))
|
|
109
|
+
"getEnv" -> getEnv(callback)
|
|
110
|
+
"setEnv" -> setEnv(argsNullable(0))
|
|
107
111
|
"getFunctionality" -> getFunctionality(callback)
|
|
108
112
|
"setFunctionality" -> setFunctionality(args(0))
|
|
109
113
|
"getProcessParams" -> getProcessParams(callback)
|
|
@@ -177,7 +181,6 @@ val context
|
|
|
177
181
|
get() = activity
|
|
178
182
|
|
|
179
183
|
var backgroundRFIDEnabled = false
|
|
180
|
-
var databaseDownloadProgress = 0
|
|
181
184
|
|
|
182
185
|
const val eventCompletion = "completion"
|
|
183
186
|
const val eventDatabaseProgress = "database_progress"
|
|
@@ -213,6 +216,14 @@ fun getTag(callback: Callback) = callback.success(Instance().tag)
|
|
|
213
216
|
|
|
214
217
|
fun setTag(tag: String?) = tag.let { Instance().tag = it }
|
|
215
218
|
|
|
219
|
+
fun getTenant(callback: Callback) = callback.success(Instance().tenant)
|
|
220
|
+
|
|
221
|
+
fun setTenant(tag: String?) = tag.let { Instance().tenant = it }
|
|
222
|
+
|
|
223
|
+
fun getEnv(callback: Callback) = callback.success(Instance().env)
|
|
224
|
+
|
|
225
|
+
fun setEnv(tag: String?) = tag.let { Instance().env = it }
|
|
226
|
+
|
|
216
227
|
fun getFunctionality(callback: Callback) = callback.success(getFunctionality(Instance().functionality()))
|
|
217
228
|
|
|
218
229
|
fun setFunctionality(functionality: JSONObject) = setFunctionality(Instance().functionality(), functionality)
|
package/src/android/build.gradle
CHANGED
|
@@ -10,13 +10,13 @@ android {
|
|
|
10
10
|
|
|
11
11
|
repositories {
|
|
12
12
|
maven {
|
|
13
|
-
url "https://maven.regulaforensics.com/RegulaDocumentReader/
|
|
13
|
+
url "https://maven.regulaforensics.com/RegulaDocumentReader/Beta"
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
dependencies {
|
|
18
18
|
//noinspection GradleDependency
|
|
19
|
-
implementation ('com.regula.documentreader:api:7.
|
|
19
|
+
implementation ('com.regula.documentreader:api:7.1.9980'){
|
|
20
20
|
transitive = true
|
|
21
21
|
}
|
|
22
22
|
}
|
package/src/ios/RGLWConfig.m
CHANGED
|
@@ -218,6 +218,8 @@
|
|
|
218
218
|
processParams.processAuth = [options valueForKey:@"processAuth"];
|
|
219
219
|
if([options valueForKey:@"convertCase"] != nil)
|
|
220
220
|
processParams.convertCase = [self textProcessingWithNumber:[options valueForKey:@"convertCase"]];
|
|
221
|
+
if(options[@"logLevel"]) processParams.logLevel = options[@"logLevel"];
|
|
222
|
+
if(options[@"mrzDetectMode"]) processParams.mrzDetectMode = options[@"mrzDetectMode"];
|
|
221
223
|
|
|
222
224
|
// String
|
|
223
225
|
if([options valueForKey:@"dateFormat"] != nil)
|
|
@@ -236,6 +238,8 @@
|
|
|
236
238
|
processParams.timeoutFromFirstDocType = [options valueForKey:@"timeoutFromFirstDocType"];
|
|
237
239
|
if([options valueForKey:@"documentAreaMin"] != nil)
|
|
238
240
|
processParams.documentAreaMin = [options valueForKey:@"documentAreaMin"];
|
|
241
|
+
if([options valueForKey:@"timeoutLiveness"] != nil)
|
|
242
|
+
processParams.timeoutLiveness = [options valueForKey:@"timeoutLiveness"];
|
|
239
243
|
|
|
240
244
|
// JSONArray
|
|
241
245
|
if([options valueForKey:@"documentIDList"] != nil)
|
|
@@ -308,6 +312,8 @@
|
|
|
308
312
|
result[@"useFaceApi"] = processParams.useFaceApi;
|
|
309
313
|
result[@"useAuthenticityCheck"] = processParams.useAuthenticityCheck;
|
|
310
314
|
result[@"checkHologram"] = processParams.checkHologram;
|
|
315
|
+
result[@"logLevel"] = processParams.logLevel;
|
|
316
|
+
result[@"mrzDetectMode"] = processParams.mrzDetectMode;
|
|
311
317
|
|
|
312
318
|
// Int
|
|
313
319
|
result[@"measureSystem"] = [NSNumber numberWithInteger:processParams.measureSystem];
|
|
@@ -335,6 +341,7 @@
|
|
|
335
341
|
result[@"timeoutFromFirstDetect"] = processParams.timeoutFromFirstDetect;
|
|
336
342
|
result[@"timeoutFromFirstDocType"] = processParams.timeoutFromFirstDocType;
|
|
337
343
|
result[@"documentAreaMin"] = processParams.documentAreaMin;
|
|
344
|
+
result[@"timeoutLiveness"] = processParams.timeoutLiveness;
|
|
338
345
|
|
|
339
346
|
// JSONArray
|
|
340
347
|
result[@"documentIDList"] = processParams.documentIDList;
|
|
@@ -994,6 +1001,8 @@
|
|
|
994
1001
|
result[@(RFIDProcessingScreenProgressBarBackground)] = [self colorWithInt:[input valueForKey:@"rfidProcessingScreenProgressBarBackground"]];
|
|
995
1002
|
if([input valueForKey:@"rfidProcessingScreenResultLabelText"] != nil)
|
|
996
1003
|
result[@(RFIDProcessingScreenResultLabelText)] = [self colorWithInt:[input valueForKey:@"rfidProcessingScreenResultLabelText"]];
|
|
1004
|
+
if([input valueForKey:@"rfidProcessingScreenLoadingBar"] != nil)
|
|
1005
|
+
result[@(RFIDProcessingScreenLoadingBar)] = [self colorWithInt:[input valueForKey:@"rfidProcessingScreenLoadingBar"]];
|
|
997
1006
|
}
|
|
998
1007
|
|
|
999
1008
|
+(NSDictionary*)getColors:(NSDictionary*)input {
|
|
@@ -1005,6 +1014,7 @@
|
|
|
1005
1014
|
@"rfidProcessingScreenProgressBar": [self intWithColor:input[@(RFIDProcessingScreenProgressBar)]],
|
|
1006
1015
|
@"rfidProcessingScreenProgressBarBackground": [self intWithColor:input[@(RFIDProcessingScreenProgressBarBackground)]],
|
|
1007
1016
|
@"rfidProcessingScreenResultLabelText": [self intWithColor:input[@(RFIDProcessingScreenResultLabelText)]],
|
|
1017
|
+
@"rfidProcessingScreenLoadingBar": [self intWithColor:input[@(RFIDProcessingScreenLoadingBar)]],
|
|
1008
1018
|
};
|
|
1009
1019
|
}
|
|
1010
1020
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
@class DocReader;
|
|
8
8
|
|
|
9
9
|
typedef void (^RGLWCallback)(id _Nullable response);
|
|
10
|
-
typedef void (^RGLWEventSender)(NSString*
|
|
10
|
+
typedef void (^RGLWEventSender)(NSString* _Nullable event, id _Nullable data);
|
|
11
11
|
typedef void (^RGLWRFIDSignatureCallback)(NSData * _Nonnull signature);
|
|
12
12
|
|
|
13
13
|
@interface RGLWDocumentReader : CDVPlugin<RGLRecordScanningProcessDelegate,
|
|
@@ -9,7 +9,7 @@ static CDVInvokedUrlCommand* _command;
|
|
|
9
9
|
+ (CDVInvokedUrlCommand*)command { return _command; }
|
|
10
10
|
+ (void) setCommand:(CDVInvokedUrlCommand*)command { _command = command; }
|
|
11
11
|
|
|
12
|
-
RGLWEventSender sendEvent = ^(NSString*
|
|
12
|
+
static RGLWEventSender sendEvent = ^(NSString* event, id data) {
|
|
13
13
|
NSArray *skippedEvents = @[RGLWVideoEncoderCompletionEvent, RGLWOnCustomButtonTappedEvent];
|
|
14
14
|
if([skippedEvents containsObject:event]) return;
|
|
15
15
|
|
|
@@ -51,6 +51,14 @@ RGLWEventSender sendEvent = ^(NSString* _Nonnull event, id _Nullable data) {
|
|
|
51
51
|
[self getTag :successCallback :errorCallback];
|
|
52
52
|
else if([action isEqualToString:@"setTag"])
|
|
53
53
|
[self setTag :[args objectAtIndex:0] :successCallback :errorCallback];
|
|
54
|
+
else if([action isEqualToString:@"getTenant"])
|
|
55
|
+
[self getTenant :successCallback :errorCallback];
|
|
56
|
+
else if([action isEqualToString:@"setTenant"])
|
|
57
|
+
[self setTenant :[args objectAtIndex:0] :successCallback :errorCallback];
|
|
58
|
+
else if([action isEqualToString:@"getEnv"])
|
|
59
|
+
[self getEnv :successCallback :errorCallback];
|
|
60
|
+
else if([action isEqualToString:@"setEnv"])
|
|
61
|
+
[self setEnv :[args objectAtIndex:0] :successCallback :errorCallback];
|
|
54
62
|
else if([action isEqualToString:@"getFunctionality"])
|
|
55
63
|
[self getFunctionality :successCallback :errorCallback];
|
|
56
64
|
else if([action isEqualToString:@"setFunctionality"])
|
|
@@ -219,6 +227,22 @@ NSString* RGLWOnCustomButtonTappedEvent = @"onCustomButtonTappedEvent";
|
|
|
219
227
|
[RGLDocReader.shared setTag:tag];
|
|
220
228
|
}
|
|
221
229
|
|
|
230
|
+
- (void) getTenant:(RGLWCallback)successCallback :(RGLWCallback)errorCallback{
|
|
231
|
+
successCallback([RGLDocReader.shared tenant]);
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
- (void) setTenant:(NSString*)tag :(RGLWCallback)successCallback :(RGLWCallback)errorCallback{
|
|
235
|
+
[RGLDocReader.shared setTenant:tag];
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
- (void) getEnv:(RGLWCallback)successCallback :(RGLWCallback)errorCallback{
|
|
239
|
+
successCallback([RGLDocReader.shared env]);
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
- (void) setEnv:(NSString*)tag :(RGLWCallback)successCallback :(RGLWCallback)errorCallback{
|
|
243
|
+
[RGLDocReader.shared setEnv:tag];
|
|
244
|
+
}
|
|
245
|
+
|
|
222
246
|
- (void) getFunctionality:(RGLWCallback)successCallback :(RGLWCallback)errorCallback{
|
|
223
247
|
successCallback([RGLWJSONConstructor dictToString: [RGLWConfig getFunctionality: RGLDocReader.shared.functionality]]);
|
|
224
248
|
}
|
package/www/DocumentReader.js
CHANGED
|
@@ -1381,6 +1381,8 @@ class ProcessParams {
|
|
|
1381
1381
|
result.imageOutputMaxWidth = jsonObject["imageOutputMaxWidth"]
|
|
1382
1382
|
result.processAuth = jsonObject["processAuth"]
|
|
1383
1383
|
result.convertCase = jsonObject["convertCase"]
|
|
1384
|
+
result.logLevel = jsonObject["logLevel"]
|
|
1385
|
+
result.mrzDetectMode = jsonObject["mrzDetectMode"]
|
|
1384
1386
|
result.measureSystem = jsonObject["measureSystem"]
|
|
1385
1387
|
result.forceDocID = jsonObject["forceDocID"]
|
|
1386
1388
|
result.dateFormat = jsonObject["dateFormat"]
|
|
@@ -1771,6 +1773,7 @@ const CustomizationColor = {
|
|
|
1771
1773
|
RFID_PROCESSING_SCREEN_PROGRESS_BAR: "rfidProcessingScreenProgressBar",
|
|
1772
1774
|
RFID_PROCESSING_SCREEN_PROGRESS_BAR_BACKGROUND: "rfidProcessingScreenProgressBarBackground",
|
|
1773
1775
|
RFID_PROCESSING_SCREEN_RESULT_LABEL_TEXT: "rfidProcessingScreenResultLabelText",
|
|
1776
|
+
RFID_PROCESSING_SCREEN_LOADING_BAR: "rfidProcessingScreenLoadingBar",
|
|
1774
1777
|
}
|
|
1775
1778
|
|
|
1776
1779
|
const eRFID_ErrorCodes = {
|
|
@@ -2417,6 +2420,9 @@ const eCheckDiagnose = {
|
|
|
2417
2420
|
FIELD_POS_CORRECTOR_HIGHLIGHT_IR: 80,
|
|
2418
2421
|
FIELD_POS_CORRECTOR_GLARES_IN_PHOTO_AREA: 81,
|
|
2419
2422
|
FIELD_POS_CORRECTOR_PHOTO_REPLACED: 82,
|
|
2423
|
+
FIELD_POS_CORRECTOR_LANDMARKS_CHECK_ERROR: 83,
|
|
2424
|
+
FIELD_POS_CORRECTOR_FACE_PRESENCE_CHECK_ERROR: 84,
|
|
2425
|
+
FIELD_POS_CORRECTOR_FACE_ABSENCE_CHECK_ERROR: 85,
|
|
2420
2426
|
OVI_IR_INVISIBLE: 90,
|
|
2421
2427
|
OVI_INSUFFICIENT_AREA: 91,
|
|
2422
2428
|
OVI_COLOR_INVARIABLE: 92,
|
|
@@ -2488,7 +2494,7 @@ const eCheckDiagnose = {
|
|
|
2488
2494
|
ICAO_IDB_SIGNATURE_MUST_BE_PRESENT: 246,
|
|
2489
2495
|
ICAO_IDB_SIGNATURE_MUST_NOT_BE_PRESENT: 247,
|
|
2490
2496
|
ICAO_IDB_CERTIFICATE_MUST_NOT_BE_PRESENT: 248,
|
|
2491
|
-
|
|
2497
|
+
INCORRECT_OBJECT_COLOR: 250,
|
|
2492
2498
|
}
|
|
2493
2499
|
|
|
2494
2500
|
const RFIDDelegate = {
|
|
@@ -2504,6 +2510,14 @@ const TextProcessing = {
|
|
|
2504
2510
|
ocCapital: 3,
|
|
2505
2511
|
}
|
|
2506
2512
|
|
|
2513
|
+
const LogLevel = {
|
|
2514
|
+
FatalError: "FatalError",
|
|
2515
|
+
Error: "Error",
|
|
2516
|
+
Warning: "Warning",
|
|
2517
|
+
Info: "Info",
|
|
2518
|
+
Debug: "Debug",
|
|
2519
|
+
}
|
|
2520
|
+
|
|
2507
2521
|
const AnimationImage = {
|
|
2508
2522
|
UNKNOWN: 0,
|
|
2509
2523
|
PASSPORT_SINGLE_PAGE: 1,
|
|
@@ -3943,6 +3957,14 @@ const eVisualFieldType = {
|
|
|
3943
3957
|
FT_DATE_OF_RETIREMENT: 681,
|
|
3944
3958
|
FT_DOCUMENT_STATUS: 682,
|
|
3945
3959
|
FT_SIGNATURE: 683,
|
|
3960
|
+
FT_UNIQUE_CERTIFICATE_IDENTIFIER: 684,
|
|
3961
|
+
FT_EMAIL: 685,
|
|
3962
|
+
FT_DATE_OF_SPECIMEN_COLLECTION: 686,
|
|
3963
|
+
FT_TYPE_OF_TESTING: 687,
|
|
3964
|
+
FT_RESULT_OF_TESTING: 688,
|
|
3965
|
+
FT_METHOD_OF_TESTING: 689,
|
|
3966
|
+
FT_DIGITAL_TRAVEL_AUTHORIZATION_NUMBER: 690,
|
|
3967
|
+
FT_DATE_OF_FIRST_POSITIVE_TEST_RESULT: 691,
|
|
3946
3968
|
}
|
|
3947
3969
|
|
|
3948
3970
|
const DocReaderOrientation = {
|
|
@@ -4145,6 +4167,12 @@ const eRPRM_Lights = {
|
|
|
4145
4167
|
RPRM_LIGHT_WHITE_FULL_OVD: (6 | 67108864),
|
|
4146
4168
|
}
|
|
4147
4169
|
|
|
4170
|
+
const eMrzDetectionModes = {
|
|
4171
|
+
DEFAULT: 0,
|
|
4172
|
+
RESIZE_BINARIZE_WINDOW: 1,
|
|
4173
|
+
BLUR_BEFORE_BINARIZATION: 2,
|
|
4174
|
+
}
|
|
4175
|
+
|
|
4148
4176
|
const Enum = {
|
|
4149
4177
|
FontStyle,
|
|
4150
4178
|
eRPRM_Authenticity,
|
|
@@ -4174,6 +4202,7 @@ const Enum = {
|
|
|
4174
4202
|
eCheckDiagnose,
|
|
4175
4203
|
RFIDDelegate,
|
|
4176
4204
|
TextProcessing,
|
|
4205
|
+
LogLevel,
|
|
4177
4206
|
AnimationImage,
|
|
4178
4207
|
ProcessingFinishedStatus,
|
|
4179
4208
|
DocFormat,
|
|
@@ -4204,6 +4233,7 @@ const Enum = {
|
|
|
4204
4233
|
CustomizationImage,
|
|
4205
4234
|
DocReaderFrame,
|
|
4206
4235
|
eRPRM_Lights,
|
|
4236
|
+
eMrzDetectionModes,
|
|
4207
4237
|
}
|
|
4208
4238
|
|
|
4209
4239
|
const DocumentReader = {}
|
|
@@ -4216,6 +4246,10 @@ DocumentReader.getRfidSessionStatus = (successCallback, errorCallback) => cordov
|
|
|
4216
4246
|
DocumentReader.setRfidSessionStatus = (status, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["setRfidSessionStatus", status])
|
|
4217
4247
|
DocumentReader.getTag = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["getTag"])
|
|
4218
4248
|
DocumentReader.setTag = (tag, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["setTag", tag])
|
|
4249
|
+
DocumentReader.getTenant = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["getTenant"])
|
|
4250
|
+
DocumentReader.setTenant = (tenant, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["setTenant", tenant])
|
|
4251
|
+
DocumentReader.getEnv = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["getEnv"])
|
|
4252
|
+
DocumentReader.setEnv = (env, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["setEnv", env])
|
|
4219
4253
|
DocumentReader.getFunctionality = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["getFunctionality"])
|
|
4220
4254
|
DocumentReader.setFunctionality = (functionality, successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["setFunctionality", functionality])
|
|
4221
4255
|
DocumentReader.getProcessParams = (successCallback, errorCallback) => cordova.exec(successCallback, errorCallback, "DocumentReader", "exec", ["getProcessParams"])
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: Bug Report
|
|
3
|
-
about: Create a report to help us improve
|
|
4
|
-
title: "[BR] "
|
|
5
|
-
labels: bug
|
|
6
|
-
assignees: ''
|
|
7
|
-
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
**Before Submitting, be sure to**
|
|
11
|
-
- [ ] Update to the latest stable version.
|
|
12
|
-
- [ ] Read and follow the guides described in the [documentation](https://docs.regulaforensics.com?utm_source=github).
|
|
13
|
-
- [ ] Try to reproduce in our demo project.
|
|
14
|
-
- [ ] Search for your issue in the existing GitHub issues.
|
|
15
|
-
|
|
16
|
-
**Bug Description**
|
|
17
|
-
<!--A clear and concise description of what the bug is.-->
|
|
18
|
-
|
|
19
|
-
**Steps To Reproduce**
|
|
20
|
-
<!--
|
|
21
|
-
1. Go to '...'
|
|
22
|
-
2. Click on '....'
|
|
23
|
-
3. Scroll down to '....'
|
|
24
|
-
4. See error
|
|
25
|
-
-->
|
|
26
|
-
|
|
27
|
-
**Expected behavior**
|
|
28
|
-
<!--A clear and concise description of what you expected to happen.-->
|
|
29
|
-
|
|
30
|
-
**Screenshots**
|
|
31
|
-
<!--If applicable, add screenshots to help explain your issue.-->
|
|
32
|
-
|
|
33
|
-
**Environment:**
|
|
34
|
-
- Device: <!--[e.g. iPhone 12]-->
|
|
35
|
-
- OS: <!--[e.g. iOS]-->
|
|
36
|
-
- OS version: <!--[e.g. 10.0]-->
|
|
37
|
-
|
|
38
|
-
**Additional context**
|
|
39
|
-
<!--Add any other context about the problem here.-->
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: Feature Request
|
|
3
|
-
about: Suggest an idea for this product
|
|
4
|
-
title: "[FR] "
|
|
5
|
-
labels: enhancement
|
|
6
|
-
assignees: ''
|
|
7
|
-
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
**Is your feature request related to a problem? Please describe.**
|
|
11
|
-
<!--A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]-->
|
|
12
|
-
|
|
13
|
-
**Describe the solution you'd like**
|
|
14
|
-
<!--A clear and concise description of what you want to happen.-->
|
|
15
|
-
|
|
16
|
-
**Describe alternatives you've considered**
|
|
17
|
-
<!--A clear and concise description of any alternative solutions or features you've considered.-->
|
|
18
|
-
|
|
19
|
-
**Additional context**
|
|
20
|
-
<!--Add any other context or screenshots about the feature request here.-->
|