Skip to content

Commit 15654f0

Browse files
author
queue-it
committed
Preparing release 3.4.0
1 parent 0e3ee4b commit 15654f0

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

QueueITLib/QueueConsts.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33

44
#define QueueCloseUrl @"queueit://close"
55
#define QueueRestartSessionUrl @"queueit://restartSession"
6-
#define SDKVersion @"iOS-3.3.2";
6+
#define SDKVersion @"iOS-3.4.0";
77

88
#endif

QueueITLib/QueueITWaitingRoomProvider.m

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ -(BOOL)tryEnqueue:(NSString*)enqueueToken
6666
}
6767

6868
[IOSUtils getUserAgent:^(NSString * userAgent) {
69-
[self tryEnqueueWithUserAgent:userAgent enqueueToken:enqueueToken enqueueKey:enqueueKey];
69+
[self tryEnqueueWithUserAgent:userAgent enqueueToken:enqueueToken enqueueKey:enqueueKey error:error];
7070
}];
7171

7272
return YES;
@@ -75,6 +75,7 @@ -(BOOL)tryEnqueue:(NSString*)enqueueToken
7575
-(void)tryEnqueueWithUserAgent:(NSString*)secretAgent
7676
enqueueToken:(NSString*)enqueueToken
7777
enqueueKey:(NSString*)enqueueKey
78+
error:(NSError**)error
7879
{
7980
NSString* userId = [IOSUtils getUserId];
8081
NSString* userAgent = [NSString stringWithFormat:@"%@;%@", secretAgent, [IOSUtils getLibraryVersion]];
@@ -93,7 +94,7 @@ -(void)tryEnqueueWithUserAgent:(NSString*)secretAgent
9394
success:^(QueueStatus *queueStatus)
9495
{
9596
if (queueStatus == NULL) {
96-
[self enqueueRetryMonitor:enqueueToken enqueueKey:enqueueKey];
97+
[self enqueueRetryMonitor:enqueueToken enqueueKey:enqueueKey error:error];
9798
return;
9899
}
99100

@@ -112,7 +113,7 @@ -(void)tryEnqueueWithUserAgent:(NSString*)secretAgent
112113
}
113114
else
114115
{
115-
[self enqueueRetryMonitor:enqueueToken enqueueKey:enqueueKey];
116+
[self enqueueRetryMonitor:enqueueToken enqueueKey:enqueueKey error:&error];
116117
}
117118
}];
118119
}
@@ -138,10 +139,11 @@ -(void)handleAppEnqueueResponse:(NSString*) queueId
138139

139140
-(void)enqueueRetryMonitor:(NSString*)enqueueToken
140141
enqueueKey:(NSString*)enqueueKey
142+
error:(NSError**)error
141143
{
142144
if (self.deltaSec < MAX_RETRY_SEC)
143145
{
144-
[self tryEnqueue:enqueueToken enqueueKey:enqueueKey error:nil];
146+
[self tryEnqueue:enqueueToken enqueueKey:enqueueKey error:error];
145147

146148
[NSThread sleepForTimeInterval:self.deltaSec];
147149
self.deltaSec = self.deltaSec * 2;

QueueITLibrary.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
Pod::Spec.new do |s|
22
s.name = "QueueITLibrary"
3-
s.version = "3.3.2"
3+
s.version = "3.4.0"
44
s.summary = "Library for integrating Queue-it into an iOS app using web uI"
55
s.homepage = "https://github.com/queueit/ios-webui-sdk"
66
s.license = 'MIT'
77
s.authors = { 'Queue-It' => 'https://queue-it.com' }
88
s.platform = :ios, '9.3'
9-
s.source = { :git => 'https://github.com/queueit/ios-webui-sdk.git', :tag => '3.3.2' }
9+
s.source = { :git => 'https://github.com/queueit/ios-webui-sdk.git', :tag => '3.4.0' }
1010
s.requires_arc = true
1111
s.source_files = "QueueITLib/*.{h,m}"
1212
end

0 commit comments

Comments
 (0)