Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified iOS_SDK/Framework/OneSignal.framework/Versions/A/OneSignal
Binary file not shown.
Binary file not shown.
4 changes: 2 additions & 2 deletions iOS_SDK/OneSignal/OneSignal.m
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ @interface OneSignal ()

@implementation OneSignal

NSString* const ONESIGNAL_VERSION = @"011100";
NSString* const ONESIGNAL_VERSION = @"011101";

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