Skip to content

Commit 5f65589

Browse files
committed
2.8.5 Release
• Resolves a rare concurrency issue with the SDK's HTTP client
1 parent 118e400 commit 5f65589

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

OneSignal.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "OneSignal"
3-
s.version = "2.8.4"
3+
s.version = "2.8.5"
44
s.summary = "OneSignal push notification library for mobile apps."
55
s.homepage = "https://onesignal.com"
66
s.license = { :type => 'MIT', :file => 'LICENSE' }
Binary file not shown.

iOS_SDK/OneSignalSDK/Source/OneSignal.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ @implementation OSPendingCallbacks
132132

133133
@implementation OneSignal
134134

135-
NSString* const ONESIGNAL_VERSION = @"020804";
135+
NSString* const ONESIGNAL_VERSION = @"020805";
136136
static NSString* mSDKType = @"native";
137137
static BOOL coldStartFromTapOnNotification = NO;
138138

iOS_SDK/OneSignalSDK/Source/OneSignalClient.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ - (void)executeSimultaneousRequests:(NSDictionary<NSString *, OneSignalRequest *
9292
}];
9393
}
9494

95-
dispatch_group_wait(group, DISPATCH_TIME_FOREVER);
95+
dispatch_group_wait(group, dispatch_time(DISPATCH_TIME_NOW, REQUEST_TIMEOUT_REQUEST * NSEC_PER_SEC));
9696

9797
//requests should all be completed at this point
9898
dispatch_async(dispatch_get_main_queue(), ^{

0 commit comments

Comments
 (0)