AWS SNS EndPoint is disabled when publishing

So, I use AWS SNS to send push notifications to Apple devices.

I have completed the following steps:

  • Created an application identifier
  • IOS Certificate Created for APNs Production
  • Generated .p12 Certificate for Use in AWS SNS
  • AWS SNS App Created
  • Configuration in iOS app (works. I get DeviceToken and create EndPoint app for AWSSNS)

When I publish a message for this EndPoint: Message publishe asking ... But the notification does not appear on the device. Then I check the endpoint and Enabled = false

Hope someone can help. Thanks.

+7
ios amazon-web-services amazon-sns swift apple-push-notifications
source share
2 answers

I will answer my question: I decided to use it a Dev certificate when creating p12, and then use it on the AWS SNS website. Go to Xcode-> Use Dev Certificate and Dev Provisioning, and now it works :)

+1
source share

In the Amazon SNS AWS Management Console, select Applications > your application> Actions > Configure events . Here you can configure the SNSS theme for Amazon for Delivery Denial . You should take a look at the error posted in the topic. He should give you why it is not working, and possibly decide how to fix it.

See the Amazon SNS Documentation for more information .

+9
source share

All Articles