Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Wonday committed Feb 15, 2019
2 parents 04b0bde + c9cd079 commit a17cf86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ios/RCTAliyunPush/AliyunPushManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -575,8 +575,8 @@ - (void)application:(UIApplication *)application didReceiveRemoteNotification:(N

NSMutableDictionary *notificationDict = [NSMutableDictionary dictionary];

// 通知时间
notificationDict[@"date"] = [NSDate init];
// 通知时间,修复:iOS低版本下点击推送闪退的问题(未分配内存就初始化对象)
notificationDict[@"date"] = [[NSDate alloc] init];

// 标题
notificationDict[@"title"] = @"";
Expand Down

0 comments on commit a17cf86

Please sign in to comment.