How to confirm delivery status when using amazonSNS mobile push?

前端 未结 2 1679
孤街浪徒
孤街浪徒 2021-01-14 02:15

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 stat

相关标签:
2条回答
  • 2021-01-14 02:45

    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.

    0 讨论(0)
  • 2021-01-14 02:59

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

    0 讨论(0)
提交回复
热议问题