Skip to content

Commit 253bb02

Browse files
author
queue-it
committed
Preparing release 1.1.9
1 parent 52cf36f commit 253bb02

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,12 @@ enqueue = async () => {
5656
QueueIt.once('openingQueueView', () => {
5757
console.log('opening queue page..');
5858
});
59-
59+
6060
//We wait for the `webViewClosed` event to be emitted when the user click on queueit://close link.
6161
QueueIt.once('webViewClosed', () => {
6262
console.log('The queue page is closed by the user.');
6363
});
64-
64+
6565
//Optional layout name that should be used for the waiting room page
6666
const layoutName = null;
6767
//Optional language for the waiting room page

ios/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ target 'QueueIt' do
88
# Pods for QueueIt
99

1010
# Our pods
11-
pod 'QueueITLibrary', '~>3.0.10'
11+
pod 'QueueITLibrary', '3.0.14'
1212
end

ios/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
PODS:
2-
- QueueITLibrary (3.0.10)
2+
- QueueITLibrary (3.0.14)
33

44
DEPENDENCIES:
5-
- QueueITLibrary (~> 3.0.10)
5+
- QueueITLibrary (3.0.14)
66

77
SPEC REPOS:
88
trunk:

ios/QueueIt.mm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ -(void) handleRunResult:(BOOL)success
146146

147147
- (NSArray<NSString *> *)supportedEvents
148148
{
149-
return @[@"openingQueueView", @"userExited"];
149+
return @[@"openingQueueView", @"userExited",@"webViewClosed"];
150150
}
151151

152152
- (void)notifyYourTurn:(QueuePassedInfo *)queuePassedInfo {
@@ -184,7 +184,7 @@ - (BOOL)notifyNavigation:(NSURL *)url {
184184
}
185185

186186
- (void)notifyViewClosed {
187-
NSLog(@"View was closed..");
187+
[self sendEventWithName: @"webViewClosed" body:@{}];
188188
}
189189

190190
-(void) notifySessionRestart {

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-queue-it",
3-
"version": "1.1.8",
3+
"version": "1.1.9",
44
"description": "React Native Module for integrating Queue-it's virtual waiting room into React Native apps.",
55
"main": "lib/commonjs/index",
66
"module": "lib/module/index",

0 commit comments

Comments
 (0)