Skip to content

Commit 66209cd

Browse files
committed
2.4.3 Release commit
1 parent 55156e2 commit 66209cd

File tree

5 files changed

+5
-8
lines changed

5 files changed

+5
-8
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.4.2"
3+
s.version = "2.4.3"
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: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ @implementation OSPendingCallbacks
126126

127127
@implementation OneSignal
128128

129-
NSString* const ONESIGNAL_VERSION = @"020402";
129+
NSString* const ONESIGNAL_VERSION = @"020403";
130130
static NSString* mSDKType = @"native";
131131
static BOOL coldStartFromTapOnNotification = NO;
132132

@@ -846,12 +846,9 @@ + (dispatch_queue_t) getRegisterQueue {
846846
}
847847

848848
+ (void)registerUser {
849-
if (!serialQueue) {
850-
NSLog(@"creating com.onesignal.regiseruser!!!");
849+
if (!serialQueue)
851850
serialQueue = dispatch_queue_create("com.onesignal.regiseruser", DISPATCH_QUEUE_SERIAL);
852-
}
853851

854-
NSLog(@"Adding registerUserInternal to queue");
855852
dispatch_async(serialQueue, ^{
856853
[self registerUserInternal];
857854
});

iOS_SDK/OneSignalSDK/Source/OneSignalHelper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
// Threading
7171
+ (void) runOnMainThread:(void(^)())block;
7272
+ (void) dispatch_async_on_main_queue:(void(^)())block;
73-
+ (void)performSelector:(SEL)aSelector onMainThreadOnObject:(nullable id)targetObj withObject:(nullable id)anArgument afterDelay:(NSTimeInterval)delay;
73+
+ (void)performSelector:(SEL)aSelector onMainThreadOnObject:(id)targetObj withObject:(id)anArgument afterDelay:(NSTimeInterval)delay;
7474

7575
// Other
7676
+ (BOOL) isValidEmail:(NSString*)email;

iOS_SDK/OneSignalSDK/Source/OneSignalNotificationSettingsIOS10.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ - (int) getNotificationTypes {
8787
// Prompt then run updateNotificationTypes on the main thread with the response.
8888
- (void)promptForNotifications {
8989

90-
id responseBlock = ^(BOOL granted, NSError * _Nullable error) {
90+
id responseBlock = ^(BOOL granted, NSError* error) {
9191
[OneSignalHelper dispatch_async_on_main_queue: ^{
9292
if (cachedStatus) {
9393
cachedStatus.anwseredPrompt = true;

0 commit comments

Comments
 (0)