Skip to content

Commit 00bda9a

Browse files
guangyaoguangyao
authored andcommitted
修复点击推送启动APP闪退的问题
1 parent 7ea24c7 commit 00bda9a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ios/RNNeteaseIm/RNNeteaseIm/RNNeteaseIm.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ - (void)clickObserveNotification:(NSNotification *)noti{
5555
NIMTeam *team = [[[NIMSDK sharedSDK] teamManager]teamById:strSessionId];
5656
strSessionName = team.teamName;
5757
}
58+
if (!strSessionName) {
59+
strSessionName = @"";
60+
}
5861
[mutaDict setObject:strSessionName forKey:@"sessionName"];
5962
[param setObject:mutaDict forKey:@"sessionBody"];
6063
if ([[dict objectForKey:@"type"] isEqualToString:@"launch"]) {

0 commit comments

Comments
 (0)