Question

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 ?

Était-ce utile?

La solution 2

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

Autres conseils

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top