Loading src/ios/APPLocalNotification.m +2 −1 Changes for src/ios/APPLocalNotification.m: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -103,6 +103,7 @@ { double timestamp = [[options objectForKey:@"date"] doubleValue]; NSString* msg = [options objectForKey:@"message"]; NSString* title = [options objectForKey:@"title"]; NSString* sound = [options objectForKey:@"sound"]; NSString* repeat = [options objectForKey:@"repeat"]; NSInteger badge = [[options objectForKey:@"badge"] intValue]; Loading @@ -113,7 +114,7 @@ notification.fireDate = date; notification.timeZone = [NSTimeZone defaultTimeZone]; notification.repeatInterval = [[[self repeatDict] objectForKey: repeat] intValue]; notification.alertBody = ([msg isEqualToString:@""]) ? nil : msg; notification.alertBody = title ? [NSString stringWithFormat:@"%@\n%@", title, msg] : msg; notification.soundName = sound; notification.applicationIconBadgeNumber = badge; Loading Loading
src/ios/APPLocalNotification.m +2 −1 Changes for src/ios/APPLocalNotification.m: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -103,6 +103,7 @@ { double timestamp = [[options objectForKey:@"date"] doubleValue]; NSString* msg = [options objectForKey:@"message"]; NSString* title = [options objectForKey:@"title"]; NSString* sound = [options objectForKey:@"sound"]; NSString* repeat = [options objectForKey:@"repeat"]; NSInteger badge = [[options objectForKey:@"badge"] intValue]; Loading @@ -113,7 +114,7 @@ notification.fireDate = date; notification.timeZone = [NSTimeZone defaultTimeZone]; notification.repeatInterval = [[[self repeatDict] objectForKey: repeat] intValue]; notification.alertBody = ([msg isEqualToString:@""]) ? nil : msg; notification.alertBody = title ? [NSString stringWithFormat:@"%@\n%@", title, msg] : msg; notification.soundName = sound; notification.applicationIconBadgeNumber = badge; Loading