How to confirm delivery status when using amazonSNS mobile push?

≯℡__Kan透↙ 提交于 2019-12-01 04:11:17

问题


I'm using AmazonSNS to send push messages to IOS device. I have got the publishResult with a messageID. Is there any way I can use this messageID to check the delivery status ?


回答1:


Looks like Amazon just added support for message delivery status: Application Attributes for Message Delivery Status. It works in conjunction with Cloudwatch Logs.




回答2:


There is no way to confirm that a message has been delivered. However, it looks like there is a way to receive an event when a message fails to be delivered. Check out the EventDeliveryFailure here: http://docs.aws.amazon.com/sns/latest/api/API_SetPlatformApplicationAttributes.html

Maybe if you ask the SNS folks over at the AWS forums for an EventDeliveryCompleted you might be able to use that.



来源:https://stackoverflow.com/questions/19651315/how-to-confirm-delivery-status-when-using-amazonsns-mobile-push

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!