Kalyan
Kalyan

Reputation: 263

How to integrate AWS SNS services into IOS APP?

I want to use AWS SNS services to send push notifications from server to IOS App. What are the steps i need to follow to integrate the SDK in the app and at the same time at the server side.I have read almost all the documentation and samples available in Github. But i see some files are missing in the samples like AWSRuntime.h,AWSSNS.h, i am not sure where to find.

A small tutorial with sample would be really helpful.

Thanks in Advance.

Upvotes: 2

Views: 3518

Answers (2)

user3462064
user3462064

Reputation: 515

I do not think you need to integrate AWS SNS in your IOS app, because SNS is integrated server to server, however what you have to do in the IOS app side is getting APNS token pass it to your backend and then call SNS api to createEndPoint.

Upvotes: 1

miss.serena
miss.serena

Reputation: 1180

Have you tried the tutorial on the AWS site for integrating mobile push notifications with AWS SNS? It has an option for APNS. I wasted a lot of time with the certificate stuff though. Through trail and error I learned that you must make sure that if you are using development credentials that you use APNS_SANDBOX as your platform, and if you are using the production credentials make sure to use APNS platform.

http://docs.aws.amazon.com/sns/latest/dg/mobile-push-apns.html

I am actually working through it at the moment. Good luck. I would love to hear if you get it working, I did get it to successfully use my credentials and send messages to my ios app via AWS Management Console, but the tutorial has yet to work.

Upvotes: 2

Related Questions