@regulaforensics/cordova-plugin-document-reader-api 7.5.620-nightly → 7.5.624-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.
- package/example/package.json +2 -2
- package/package.json +1 -1
- package/plugin.xml +2 -2
- package/src/android/build.gradle +1 -1
- package/src/ios/RGLWConfig.m +0 -7
- package/www/DocumentReader.js +1 -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": "7.5.
|
|
17
|
-
"@regulaforensics/cordova-plugin-document-reader-core-fullauthrfid": "7.5.
|
|
16
|
+
"@regulaforensics/cordova-plugin-document-reader-api": "7.5.624-nightly",
|
|
17
|
+
"@regulaforensics/cordova-plugin-document-reader-core-fullauthrfid": "7.5.751-nightly",
|
|
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.5.
|
|
3
|
+
"version": "7.5.624-nightly",
|
|
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.5.
|
|
2
|
+
<plugin id="cordova-plugin-document-reader-api" version="7.5.624-nightly"
|
|
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="DocumentReaderNightly" spec="7.5.
|
|
29
|
+
<pod name="DocumentReaderNightly" spec="7.5.3978" />
|
|
30
30
|
</pods>
|
|
31
31
|
</podspec>
|
|
32
32
|
</platform>
|
package/src/android/build.gradle
CHANGED
package/src/ios/RGLWConfig.m
CHANGED
|
@@ -68,10 +68,6 @@
|
|
|
68
68
|
if([options valueForKey:@"zoomFactor"] != nil)
|
|
69
69
|
functionality.zoomFactor = [[options valueForKey:@"zoomFactor"] floatValue];
|
|
70
70
|
|
|
71
|
-
// JSONObject
|
|
72
|
-
if([options valueForKey:@"onlineProcessingConfiguration"] != nil)
|
|
73
|
-
functionality.onlineProcessingConfig = [RGLWJSONConstructor onlineProcessingConfigFromJson:[options valueForKey:@"onlineProcessingConfiguration"]];
|
|
74
|
-
|
|
75
71
|
// Custom
|
|
76
72
|
// in android - cameraSize
|
|
77
73
|
if([options valueForKey:@"videoSessionPreset"] != nil)
|
|
@@ -116,9 +112,6 @@
|
|
|
116
112
|
// Float
|
|
117
113
|
result[@"zoomFactor"] = [NSNumber numberWithFloat:functionality.zoomFactor];
|
|
118
114
|
|
|
119
|
-
// JSONObject
|
|
120
|
-
result[@"onlineProcessingConfiguration"] = [RGLWJSONConstructor generateOnlineProcessingConfig:functionality.onlineProcessingConfig];
|
|
121
|
-
|
|
122
115
|
// Custom
|
|
123
116
|
// in android - cameraSize
|
|
124
117
|
result[@"videoSessionPreset"] = [self generateCaptureSessionPreset:functionality.videoSessionPreset];
|
package/www/DocumentReader.js
CHANGED
|
@@ -993,7 +993,7 @@ class OnlineProcessingConfig {
|
|
|
993
993
|
|
|
994
994
|
result.mode = jsonObject["mode"]
|
|
995
995
|
result.url = jsonObject["url"]
|
|
996
|
-
result.
|
|
996
|
+
result.processParams = ProcessParams.fromJson(jsonObject["processParams"])
|
|
997
997
|
result.imageFormat = jsonObject["imageFormat"]
|
|
998
998
|
result.imageCompressionQuality = jsonObject["imageCompressionQuality"]
|
|
999
999
|
|