Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AWS SNS EndPoint disabled when publishing

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

I've followed the following steps:

  • Created an app ID
  • Created a APNs Production iOS certificate
  • Created .p12 certificate to use in AWS SNS
  • Created AWS SNS Application
  • Config in iOS App (It works. I get deviceToken and creates an EndPoint to AWSSNS App)

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.

like image 515
Norolim Avatar asked Jul 28 '15 08:07

Norolim


1 Answers

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.

like image 124
Yosuke Matsuda Avatar answered Sep 19 '22 09:09

Yosuke Matsuda