Norolim
Norolim

Reputation: 956

AWS SNS EndPoint disabled when publishing

So im using AWS SNS to send push notifications to apple devices.

I've followed the following steps:

When i publish a message to that EndPoint: Message publishe with request... But the notification never appears on the device. Then i check the endpoint and Enabled = false

Hope anyone can help. Thanks.

Upvotes: 11

Views: 14918

Answers (2)

Norolim
Norolim

Reputation: 956

I'll answer my question: I've solved it using Dev certificate when creating p12, then use it in AWS SNS website. Go to Xcode-> Use Dev Certificate & Dev Provisioning profile and now it works :)

Upvotes: 4

Yosuke
Yosuke

Reputation: 3759

On Amazon SNS AWS Management Console, select Applications > your application > Actions > Configure events. Here you can set up an Amazon SNS topic for Delivery failure. You should take a look at the error published to the topic. It should give you why it is failing and possibly a solution for how to fix it.

See Amazon SNS Documentation for more details.

Upvotes: 11

Related Questions