Push Notification not sent by Amazon SNS to IOS application

0 votes

The app that i have hosted on AWS does not receive notification, the android side works fine but there is some error on IOS side.

So here is what I have done:

1) generate token from apple apn service
2) create the endpoint at amazon backend
3) publish the message at amazon backend
4) it does not receive message and the endpoint will go to disabled after a while.

And I have checked the following:

1) try serveal ios device , including iphone/ ipad/ipod touch also the same result
2) checked the secret key/ platform arn it is matched
3) created another platform ARN but still the same.
I can’t seem to find what the error is. Which part of coding should I check, as it worked correctly before but failed only recently.
Aug 10, 2018 in AWS by angel
• 140 points

1 answer to this question.

0 votes

If the SNS endpoint is disabled after a while, that means your APNS certificate has some issue. Check if you have you mistakenly used a sandbox certificate for prod, or visa versa? Are you sure you have the right certificate and private key combo? See http://docs.aws.amazon.com/sns/latest/dg/mobile-push-apns.html for more information.

answered Aug 14, 2018 by Deepthi
• 300 points

Related Questions In AWS

+1 vote
3 answers

Not able to pass params POST to AWS Lambda from Amazon API Gateway

For this template : application/x-www-form-urlencoded  This line below will ...READ MORE

answered Jun 13, 2018 in AWS by Cloud gunner
• 4,650 points
0 votes
1 answer

How to list the contents of Amazon S3 by modified date?

One easy solution would be probably to ...READ MORE

answered Aug 21, 2018 in AWS by datageek
• 2,530 points
0 votes
1 answer

AWS SNS - How to get SNS topic by name?

If you know the topic already exists ...READ MORE

answered Sep 4, 2018 in AWS by Archana
• 4,150 points
0 votes
1 answer

What are the Naming conventions for SNS / SQS

There are no specific naming convention. You ...READ MORE

answered Aug 9, 2018 in AWS by Priyaj
• 58,140 points
0 votes
1 answer

Polling the queue in Amazon SQS

One way is you could create a ...READ MORE

answered Dec 20, 2018 in AWS by Archana
• 5,640 points
0 votes
1 answer

How to send HTML mails using Amazon SNS?

It's not possible to send HTML emails ...READ MORE

answered Jan 8, 2019 in AWS by Archana
• 5,640 points
0 votes
1 answer

AmazonServiceException: Unable to find credentials

It should be a problem with AWS ...READ MORE

answered Feb 12, 2019 in AWS by Archana
• 5,640 points
0 votes
2 answers

How to access files in S3 bucket from R?

You can take a look at the ...READ MORE

answered Aug 10, 2018 in AWS by Deepthi
• 300 points
0 votes
1 answer