@regulaforensics/cordova-plugin-document-reader-api 9.5.624-rc → 9.5.638-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.
- package/example/package.json +2 -2
- package/package.json +1 -1
- package/plugin.xml +3 -3
- package/src/android/build.gradle +1 -1
- package/src/ios/RGLWConfig.m +3 -0
- package/www/DocumentReader.js +9 -1
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": "9.5.
|
|
17
|
-
"@regulaforensics/cordova-plugin-document-reader-core-fullauthrfid": "9.6.
|
|
16
|
+
"@regulaforensics/cordova-plugin-document-reader-api": "9.5.638-rc",
|
|
17
|
+
"@regulaforensics/cordova-plugin-document-reader-core-fullauthrfid": "9.6.2781-rc",
|
|
18
18
|
"cordova-android": "13.0.0",
|
|
19
19
|
"cordova-ios": "7.1.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": "9.5.
|
|
3
|
+
"version": "9.5.638-rc",
|
|
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="@regulaforensics/cordova-plugin-document-reader-api" version="9.5.
|
|
2
|
+
<plugin id="@regulaforensics/cordova-plugin-document-reader-api" version="9.5.638-rc" xmlns="http://apache.org/cordova/ns/plugins/1.0">
|
|
3
3
|
<name>DocumentReaderApi</name>
|
|
4
4
|
<description>Cordova plugin Document reader api</description>
|
|
5
5
|
<license>commercial</license>
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
<source-file src="src/ios/RGLWMain.m" />
|
|
27
27
|
<podspec>
|
|
28
28
|
<config>
|
|
29
|
-
<source url="https://github.com/
|
|
29
|
+
<source url="https://github.com/regulaforensics/podspecs.git"/>
|
|
30
30
|
</config>
|
|
31
31
|
<pods>
|
|
32
|
-
<pod name="DocumentReaderStage" spec="9.6.
|
|
32
|
+
<pod name="DocumentReaderStage" spec="9.6.6622" />
|
|
33
33
|
</pods>
|
|
34
34
|
</podspec>
|
|
35
35
|
</platform>
|
package/src/android/build.gradle
CHANGED
package/src/ios/RGLWConfig.m
CHANGED
|
@@ -388,6 +388,8 @@
|
|
|
388
388
|
}
|
|
389
389
|
|
|
390
390
|
+(void)setCustomization:(NSDictionary*)options :(RGLCustomization*)customization {
|
|
391
|
+
if(options[@"theme"]) customization.theme = [options[@"theme"] integerValue];
|
|
392
|
+
|
|
391
393
|
// Boolean
|
|
392
394
|
if([options valueForKey:@"showStatusMessages"] != nil)
|
|
393
395
|
customization.showStatusMessages = [[options valueForKey:@"showStatusMessages"] boolValue];
|
|
@@ -533,6 +535,7 @@
|
|
|
533
535
|
|
|
534
536
|
+(NSDictionary*)getCustomization:(RGLCustomization*)customization {
|
|
535
537
|
NSMutableDictionary *result = [NSMutableDictionary new];
|
|
538
|
+
result[@"theme"] = [NSNumber numberWithInteger:customization.theme];
|
|
536
539
|
|
|
537
540
|
// Boolean
|
|
538
541
|
result[@"showStatusMessages"] = [NSNumber numberWithBool:customization.showStatusMessages];
|
package/www/DocumentReader.js
CHANGED
|
@@ -1694,6 +1694,7 @@ class Customization {
|
|
|
1694
1694
|
if (jsonObject == null) return null
|
|
1695
1695
|
const result = new Customization()
|
|
1696
1696
|
|
|
1697
|
+
result.theme = jsonObject["theme"]
|
|
1697
1698
|
result.showStatusMessages = jsonObject["showStatusMessages"]
|
|
1698
1699
|
result.showResultStatusMessages = jsonObject["showResultStatusMessages"]
|
|
1699
1700
|
result.showHelpAnimation = jsonObject["showHelpAnimation"]
|
|
@@ -2285,7 +2286,7 @@ const eRFID_ErrorCodes = {
|
|
|
2285
2286
|
RFID_ERROR_LAYER6_GENERAL_AUTH_FAILURE: 0x86000309,
|
|
2286
2287
|
RFID_ERROR_LAYER6_FILE_NOT_FOUND: 0x80006A82,
|
|
2287
2288
|
RFID_ERROR_LAYER6_FILE_EOF1: 0x80006282,
|
|
2288
|
-
|
|
2289
|
+
RFID_LAYER6_WRONG_PARAMS: 0x80006B00,
|
|
2289
2290
|
RFID_ERROR_LAYER6_INCORRECT_PARAMS: 0x80006A80,
|
|
2290
2291
|
RFID_ERROR_LAYER6_NO_REFERENCE_DATA: 0x80006A88,
|
|
2291
2292
|
RFID_ERROR_LAYER6_PWD_SUSPEND: 0x800063C1,
|
|
@@ -2570,6 +2571,11 @@ const eMDLDeviceRetrieval = {
|
|
|
2570
2571
|
BLE: 2,
|
|
2571
2572
|
}
|
|
2572
2573
|
|
|
2574
|
+
const CustomizationTheme = {
|
|
2575
|
+
CLEAR: 0,
|
|
2576
|
+
LIQUID_GLASS: 1,
|
|
2577
|
+
}
|
|
2578
|
+
|
|
2573
2579
|
const eRFID_BaudRate = {
|
|
2574
2580
|
rfbr_106: 1,
|
|
2575
2581
|
rfbr_212: 2,
|
|
@@ -4561,6 +4567,7 @@ const eVisualFieldType = {
|
|
|
4561
4567
|
FT_JURISDICTION_SPECIFIC_DATA: 703,
|
|
4562
4568
|
FT_DATA_DATE_OF_EXPIRY: 704,
|
|
4563
4569
|
FT_CONSUL: 705,
|
|
4570
|
+
FT_CANTON_REFERENCE: 706,
|
|
4564
4571
|
}
|
|
4565
4572
|
|
|
4566
4573
|
const DocReaderOrientation = {
|
|
@@ -4818,6 +4825,7 @@ const Enum = {
|
|
|
4818
4825
|
eRPRM_ResultType,
|
|
4819
4826
|
FrameShapeType,
|
|
4820
4827
|
eMDLDeviceRetrieval,
|
|
4828
|
+
CustomizationTheme,
|
|
4821
4829
|
eRFID_BaudRate,
|
|
4822
4830
|
LineCap,
|
|
4823
4831
|
eRPRM_FieldVerificationResult,
|