@regulaforensics/react-native-document-reader-api 7.4.682-nightly → 7.4.684-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 = '11.0'
|
|
16
16
|
s.source_files = "ios/*.{h,m}"
|
|
17
|
-
s.dependency 'DocumentReaderNightly', '7.4.
|
|
17
|
+
s.dependency 'DocumentReaderNightly', '7.4.3811'
|
|
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:7.4.
|
|
44
|
+
implementation('com.regula.documentreader:api:7.4.10074') {
|
|
45
45
|
transitive = true
|
|
46
46
|
}
|
|
47
47
|
}
|
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
"name": "DocumentReader",
|
|
9
9
|
"version": "0.0.1",
|
|
10
10
|
"dependencies": {
|
|
11
|
+
"@regulaforensics/react-native-document-reader-api": "7.3.676",
|
|
12
|
+
"@regulaforensics/react-native-document-reader-core-fullauthrfid": "7.3.602",
|
|
11
13
|
"@rneui/base": "4.0.0-rc.7",
|
|
12
14
|
"@rneui/themed": "4.0.0-rc.7",
|
|
13
15
|
"ip": "2.0.1",
|
|
@@ -4049,6 +4051,18 @@
|
|
|
4049
4051
|
"react-native": "*"
|
|
4050
4052
|
}
|
|
4051
4053
|
},
|
|
4054
|
+
"node_modules/@regulaforensics/react-native-document-reader-api": {
|
|
4055
|
+
"version": "7.3.676",
|
|
4056
|
+
"resolved": "https://registry.npmjs.org/@regulaforensics/react-native-document-reader-api/-/react-native-document-reader-api-7.3.676.tgz",
|
|
4057
|
+
"integrity": "sha512-UkzzdKVYpmZZYtUdWy+X5YHZnjS8xERqgBFJXXIFbhYZLKrnt+k8P8envGWV5pRtMXrUyAPrLX07UENJ1x5EGA==",
|
|
4058
|
+
"license": "commercial"
|
|
4059
|
+
},
|
|
4060
|
+
"node_modules/@regulaforensics/react-native-document-reader-core-fullauthrfid": {
|
|
4061
|
+
"version": "7.3.602",
|
|
4062
|
+
"resolved": "https://registry.npmjs.org/@regulaforensics/react-native-document-reader-core-fullauthrfid/-/react-native-document-reader-core-fullauthrfid-7.3.602.tgz",
|
|
4063
|
+
"integrity": "sha512-LiJWglGvn1ph5blzq3rSU98KQ4YIiPL6qkJyRwynLuvzmnmDUI+2LoocG/7OrA8M3hZlbt16XDFqISii/BvJ6Q==",
|
|
4064
|
+
"license": "commercial"
|
|
4065
|
+
},
|
|
4052
4066
|
"node_modules/@rneui/base": {
|
|
4053
4067
|
"version": "4.0.0-rc.7",
|
|
4054
4068
|
"license": "MIT",
|
|
@@ -6736,7 +6750,9 @@
|
|
|
6736
6750
|
"license": "MIT"
|
|
6737
6751
|
},
|
|
6738
6752
|
"node_modules/fast-xml-parser": {
|
|
6739
|
-
"version": "4.4.
|
|
6753
|
+
"version": "4.4.1",
|
|
6754
|
+
"resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-4.4.1.tgz",
|
|
6755
|
+
"integrity": "sha512-xkjOecfnKGkSsOwtZ5Pz7Us/T6mrbPQrq0nh+aCO5V9nk5NLWmasAHumTKjiPJPWANe+kAZ84Jc8ooJkzZ88Sw==",
|
|
6740
6756
|
"funding": [
|
|
6741
6757
|
{
|
|
6742
6758
|
"type": "github",
|
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": "7.4.
|
|
14
|
-
"@regulaforensics/react-native-document-reader-core-fullauthrfid": "7.4.
|
|
13
|
+
"@regulaforensics/react-native-document-reader-api": "7.4.684-nightly",
|
|
14
|
+
"@regulaforensics/react-native-document-reader-core-fullauthrfid": "7.4.621-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",
|
|
@@ -23,9 +23,13 @@ RCT_EXPORT_MODULE();
|
|
|
23
23
|
RGLWOnCustomButtonTappedEvent];
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
+
static bool hasListeners;
|
|
27
|
+
-(void)startObserving { hasListeners = YES; }
|
|
28
|
+
-(void)stopObserving { hasListeners = NO; }
|
|
29
|
+
|
|
26
30
|
static RGLWEventSender sendEvent = ^(NSString* event, id data) {
|
|
27
31
|
dispatch_async(dispatch_get_main_queue(), ^{
|
|
28
|
-
[RGLWPlugin sendEventWithName:event body:@{@"msg": data}];
|
|
32
|
+
if (hasListeners) [RGLWPlugin sendEventWithName:event body:@{@"msg": data}];
|
|
29
33
|
});
|
|
30
34
|
};
|
|
31
35
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@regulaforensics/react-native-document-reader-api",
|
|
3
|
-
"version": "7.4.
|
|
3
|
+
"version": "7.4.684-nightly",
|
|
4
4
|
"description": "React Native module for reading and validation of identification documents (API framework)",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|