Skip to content

Commit

Permalink
7.4.690
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins committed Aug 2, 2024
1 parent 7ca04b3 commit 1b2c95c
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 7 deletions.
2 changes: 1 addition & 1 deletion RNDocumentReaderApi.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ Pod::Spec.new do |s|
s.source = { :http => 'file:' + __dir__ }
s.ios.deployment_target = '11.0'
s.source_files = "ios/*.{h,m}"
s.dependency 'DocumentReader', '7.3.3764'
s.dependency 'DocumentReader', '7.4.3826'
s.dependency 'React'
end
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ dependencies {
//noinspection GradleDynamicVersion
implementation 'com.facebook.react:react-native:+'
//noinspection GradleDependency
implementation('com.regula.documentreader:api:7.3.10030') {
implementation('com.regula.documentreader:api:7.4.10090') {
transitive = true
}
}
Expand Down
18 changes: 17 additions & 1 deletion example/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"test": "jest"
},
"dependencies": {
"@regulaforensics/react-native-document-reader-api": "7.3.676",
"@regulaforensics/react-native-document-reader-core-fullauthrfid": "7.3.602",
"@regulaforensics/react-native-document-reader-api": "7.4.690",
"@regulaforensics/react-native-document-reader-core-fullauthrfid": "7.4.638",
"react-native-progress": "5.0.0",
"react-native-radio-buttons-group": "3.0.5",
"@rneui/base": "4.0.0-rc.7",
Expand Down
6 changes: 5 additions & 1 deletion ios/RNRegulaDocumentReader.m
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,13 @@ @implementation RNRegulaDocumentReader
RGLWOnCustomButtonTappedEvent];
}

static bool hasListeners;
-(void)startObserving { hasListeners = YES; }
-(void)stopObserving { hasListeners = NO; }

static RGLWEventSender sendEvent = ^(NSString* event, id data) {
dispatch_async(dispatch_get_main_queue(), ^{
[RGLWPlugin sendEventWithName:event body:@{@"msg": data}];
if (hasListeners) [RGLWPlugin sendEventWithName:event body:@{@"msg": data}];
});
};

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@regulaforensics/react-native-document-reader-api",
"version": "7.3.676",
"version": "7.4.690",
"description": "React Native module for reading and validation of identification documents (API framework)",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 1b2c95c

Please sign in to comment.