发送 REST 消息, iOS 端 APNs 内容显示不完整 [已解决]
REST 消息为: (实际发送的内容不同)
{
"target_type":"users",
"target":[
"6006"
],
"msg":{
"type":"txt",
"msg":"hello from rest"
},
"from":"6001",
"ext":{
"em_apns_ext":{
"em_push_title":"自定义信息"
}
}
}
但是如果消息通过EMChatManagerDelegate
的方法:messagesDidReceive
就可以正常获得所有消息内容, 另外设置的 pushOptions 为:pushOptions?.displayStyle = EMPushDisplayStyleMessageSummary
环信最新SDK, Xcode 8.3.3, iOS 10.3.2, Swift 3.1
没有找到相关结果
已邀请:
1 个回复
wangyuzhang