File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed
Framework/OneSignal.framework/Versions/A Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 1
1
Pod ::Spec . new do |s |
2
2
s . name = "OneSignal"
3
- s . version = "1.12.1 "
3
+ s . version = "1.12.2 "
4
4
s . summary = "OneSignal push notification library for mobile apps."
5
5
s . homepage = "https://onesignal.com"
6
6
s . license = { :type => 'MIT' , :file => 'LICENSE' }
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ @interface OneSignal ()
61
61
62
62
@implementation OneSignal
63
63
64
- NSString * const ONESIGNAL_VERSION = @" 011200 " ;
64
+ NSString * const ONESIGNAL_VERSION = @" 011201 " ;
65
65
66
66
@synthesize app_id = _GT_publicKey;
67
67
@synthesize httpClient = _GT_httpRequest;
@@ -459,12 +459,16 @@ - (void)registerUser {
459
459
if (mDeviceToken)
460
460
[self updateDeviceToken: mDeviceToken onSuccess: tokenUpdateSuccessBlock onFailure: tokenUpdateFailureBlock];
461
461
462
- if (tagsToSend != nil ) {
462
+ if (tagsToSend) {
463
463
[self sendTags: tagsToSend];
464
- [self sendLocation: lastLocation];
465
464
tagsToSend = nil ;
466
465
}
467
466
467
+ if (lastLocation) {
468
+ [self sendLocation: lastLocation];
469
+ lastLocation = nil ;
470
+ }
471
+
468
472
if (idsAvailableBlockWhenReady) {
469
473
idsAvailableBlockWhenReady (mUserId, getUsableDeviceToken ());
470
474
if (getUsableDeviceToken ())
You can’t perform that action at this time.
0 commit comments