@regulaforensics/react-native-document-reader-api 8.1.121-nightly → 8.1.122-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.
|
@@ -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 'DocumentReaderNightly', '8.1.
|
|
17
|
+
s.dependency 'DocumentReaderNightly', '8.1.4603'
|
|
18
18
|
s.dependency 'React'
|
|
19
19
|
end
|
package/android/build.gradle
CHANGED
|
@@ -41,7 +41,7 @@ dependencies {
|
|
|
41
41
|
//noinspection GradleDynamicVersion
|
|
42
42
|
implementation 'com.facebook.react:react-native:+'
|
|
43
43
|
//noinspection GradleDependency
|
|
44
|
-
implementation('com.regula.documentreader:api:8.1.
|
|
44
|
+
implementation('com.regula.documentreader:api:8.1.11416') {
|
|
45
45
|
transitive = true
|
|
46
46
|
}
|
|
47
47
|
}
|
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": "8.1.
|
|
14
|
-
"@regulaforensics/react-native-document-reader-core-fullauthrfid": "8.1.
|
|
13
|
+
"@regulaforensics/react-native-document-reader-api": "8.1.122-nightly",
|
|
14
|
+
"@regulaforensics/react-native-document-reader-core-fullauthrfid": "8.1.285-nightly",
|
|
15
15
|
"react-native-progress": "5.0.0",
|
|
16
16
|
"react-native-radio-buttons-group": "3.0.5",
|
|
17
17
|
"@rneui/base": "4.0.0-rc.7",
|
|
@@ -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
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@regulaforensics/react-native-document-reader-api",
|
|
3
|
-
"version": "8.1.
|
|
3
|
+
"version": "8.1.122-nightly",
|
|
4
4
|
"description": "React Native module for reading and validation of identification documents (API framework)",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|