File tree Expand file tree Collapse file tree 5 files changed +5
-8
lines changed
Framework/OneSignal.framework/Versions/A Expand file tree Collapse file tree 5 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 11Pod ::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' }
Original file line number Diff line number Diff 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 " ;
130130static NSString * mSDKType = @" native" ;
131131static 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 });
Original file line number Diff line number Diff line change 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 ;
Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments