Push notification 将通知推送到BlueMix中的标记
我正在尝试使用Bluemix Services Push REST API中的messages服务向订阅先前创建的标记的用户发送推送通知。问题是,当我向多个标签发送通知时,如果用户注册到多个标签,他会多次收到相同的通知 API说:Push notification 将通知推送到BlueMix中的标记,push-notification,ibm-cloud,ibm-mobile-services,Push Notification,Ibm Cloud,Ibm Mobile Services,我正在尝试使用Bluemix Services Push REST API中的messages服务向订阅先前创建的标记的用户发送推送通知。问题是,当我向多个标签发送通知时,如果用户注册到多个标签,他会多次收到相同的通知 API说: tagNames (Array[string], optional): Send notification to the devices that have subscribed to any of these tags 因此,我理解用户应该只收到一个通知,而不是正
tagNames (Array[string], optional): Send notification to the devices that have subscribed to any of these tags
因此,我理解用户应该只收到一个通知,而不是正在发生的事情
我的电话是这样的:
{
"message": {
"alert": "Text notification",
},
"target": {
"tagNames": ["TAG1","TAG2","TAG3","TAG4","TAG5","TAG6","TAG7"]
},
"settings": {
"apns": {
"badge": 1,
"sound": "UILocalNotificationDefaultSoundName"
}
}
}
向Bluemix推送开发团队确认,这确实是服务中的一个缺陷,在这种情况下,您应该只收到一个通知。团队已经为该问题创建了一个缺陷,一旦问题得到解决并投入生产,我将使用修复程序中的任何附加信息或使用更改来更新此答案
非常感谢您让我们注意到这一点感谢您的快速回复:)