We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issue标题:
[ios]-[5.0]:前台运行时收到新消息怎么弹窗展示和声音提醒 issue内容:
【当前现象】:前台运行时收到新消息怎么弹窗展示和声音提醒 【集成包】:IMSDK 【机型】:如iPhone XR 【之前版本有无此问题】:有 【有无日志或者描述、截图】:如有请附上相关日志,方便我们定位,如有截图更好 您好,使用imsdk,应用在后台运行或被杀死时能收到离线推送,但在前台时没有alert提醒和声音提醒 -(void)userNotificationCenter:(UNUserNotificationCenter *)center willPresentNotification:(UNNotification *)notification withCompletionHandler:(void (^)(UNNotificationPresentationOptions))completionHandler 在此方法中也收不到消息。
当收到新消息时,控制台会打印如下字段 |-message_dispatcher.cpp:293 HandleNewMessage |message_source:receive message|message: message_type:c2c|message_sub_type:0x6 sender_user_id:750|receiver_user_id:dd823e1f1fee451b88ab82c|receive_time:1685180932072 client_time:1685180931|server_time:1685180931|sequence:1637633171|random:312892653 message_status:success|IsOnlineOnly:false|platform:iOS message_elements: [text] content size:3 现在我想在前台运行时有声音提醒和alert提醒,请问应该在什么代理方法中接收并处理数据,期望您的回复。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
issue标题:
[ios]-[5.0]:前台运行时收到新消息怎么弹窗展示和声音提醒
issue内容:
【当前现象】:前台运行时收到新消息怎么弹窗展示和声音提醒
【集成包】:IMSDK
【机型】:如iPhone XR
【之前版本有无此问题】:有
【有无日志或者描述、截图】:如有请附上相关日志,方便我们定位,如有截图更好
您好,使用imsdk,应用在后台运行或被杀死时能收到离线推送,但在前台时没有alert提醒和声音提醒
-(void)userNotificationCenter:(UNUserNotificationCenter *)center willPresentNotification:(UNNotification *)notification withCompletionHandler:(void (^)(UNNotificationPresentationOptions))completionHandler
在此方法中也收不到消息。
当收到新消息时,控制台会打印如下字段
|-message_dispatcher.cpp:293 HandleNewMessage |message_source:receive message|message:
message_type:c2c|message_sub_type:0x6
sender_user_id:750|receiver_user_id:dd823e1f1fee451b88ab82c|receive_time:1685180932072
client_time:1685180931|server_time:1685180931|sequence:1637633171|random:312892653
message_status:success|IsOnlineOnly:false|platform:iOS
message_elements:
[text] content size:3
现在我想在前台运行时有声音提醒和alert提醒,请问应该在什么代理方法中接收并处理数据,期望您的回复。
The text was updated successfully, but these errors were encountered: