@regulaforensics/cordova-plugin-document-reader-api 8.1.115-nightly → 8.1.116-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/RGLWJSONConstructor.m +6 -4
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": "8.1.
|
|
17
|
-
"@regulaforensics/cordova-plugin-document-reader-core-fullauthrfid": "8.1.
|
|
16
|
+
"@regulaforensics/cordova-plugin-document-reader-api": "8.1.116-nightly",
|
|
17
|
+
"@regulaforensics/cordova-plugin-document-reader-core-fullauthrfid": "8.1.293-nightly",
|
|
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": "8.1.
|
|
3
|
+
"version": "8.1.116-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="@regulaforensics/cordova-plugin-document-reader-api" version="8.1.
|
|
2
|
+
<plugin id="@regulaforensics/cordova-plugin-document-reader-api" version="8.1.116-nightly" 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>
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
<source url="https://github.com/CocoaPods/Specs.git"/>
|
|
28
28
|
</config>
|
|
29
29
|
<pods>
|
|
30
|
-
<pod name="DocumentReaderNightly" spec="8.1.
|
|
30
|
+
<pod name="DocumentReaderNightly" spec="8.1.4603" />
|
|
31
31
|
</pods>
|
|
32
32
|
</podspec>
|
|
33
33
|
</platform>
|
package/src/android/build.gradle
CHANGED
|
@@ -928,17 +928,19 @@ static NSMutableArray* weakReferencesHolder;
|
|
|
928
928
|
+(NSDictionary*)generateImageQuality:(RGLImageQuality*)input {
|
|
929
929
|
if(input == nil) return nil;
|
|
930
930
|
NSMutableDictionary* result = [NSMutableDictionary new];
|
|
931
|
-
|
|
931
|
+
|
|
932
932
|
result[@"type"] = [RGLWConfig generateImageQualityCheckType:input.type];
|
|
933
933
|
result[@"result"] = @(input.result);
|
|
934
934
|
result[@"featureType"] = @(input.featureType);
|
|
935
935
|
if(input.boundRects != nil){
|
|
936
936
|
NSMutableArray *array = [NSMutableArray new];
|
|
937
|
-
for(NSValue* item in input.boundRects)
|
|
938
|
-
|
|
937
|
+
for(NSValue* item in input.boundRects) {
|
|
938
|
+
id rect = [self generateRect:[item CGRectValue]];
|
|
939
|
+
if(rect) [array addObject:rect];
|
|
940
|
+
}
|
|
939
941
|
result[@"boundRects"] = array;
|
|
940
942
|
}
|
|
941
|
-
|
|
943
|
+
|
|
942
944
|
return result;
|
|
943
945
|
}
|
|
944
946
|
|