Skip to content

Commit 01733d7

Browse files
committed
Merge pull request #15 from one-signal/intel_xdk_compat
Lowered Xcode requirement to 6.0 for Intel XDK compat
2 parents aff7cd7 + 4624b37 commit 01733d7

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed
3.35 KB
Binary file not shown.
624 Bytes
Binary file not shown.

iOS_SDK/OneSignal/OneSignal.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ @interface OneSignal ()
6060

6161
@implementation OneSignal
6262

63-
NSString* const ONESIGNAL_VERSION = @"011100";
63+
NSString* const ONESIGNAL_VERSION = @"011101";
6464

6565
@synthesize app_id = _GT_publicKey;
6666
@synthesize httpClient = _GT_httpRequest;
@@ -1084,7 +1084,7 @@ - (void) remoteSilentNotification:(UIApplication*)application UserInfo:(NSDictio
10841084
notification.category = [category identifier];
10851085
if ([data[@"m"] isKindOfClass:[NSDictionary class]]) {
10861086
if ([notification respondsToSelector:NSSelectorFromString(@"alertTitle")])
1087-
notification.alertTitle = data[@"m"][@"title"];
1087+
[notification setValue:data[@"m"][@"title"] forKey:@"alertTitle"]; // Using reflection for pre-Xcode 6.2 support.
10881088
notification.alertBody = data[@"m"][@"body"];
10891089
}
10901090
else

0 commit comments

Comments
 (0)