Reputation: 4058
I have a web application and I want to send Push Notifications using AWS. I don't understand which AWS service I could use to send push notifications to web applications. It looks like AWS SNS service couldn't do that. But I can't find any examples. Tell me please what service to use?
Upvotes: 5
Views: 10925
Reputation: 106
You can trigger Web Push Notifications from SNS but there is more to it then just publishing a message. You need to configure VAPID keys, request user permission and save subscription on server-side.
You can read detailed guide here: How to Send Web Push Notifications for Free with AWS and without Firebase
Upvotes: 0
Reputation: 129
I would suggest to checking out the mobile push notifications feature of SNS: https://docs.aws.amazon.com/sns/latest/dg/sns-mobile-application-as-subscriber.html
Upvotes: 0
Reputation: 1499
1 - You can use SNS to send http requests to Web Applications Endpoints;
2 - You can use AWS IoT to send notifications over WebSockets if you're looking for a "real time" front-end updates.
This my help you to get started with AWS IoT: http://gettechtalent.com/blog/tutorial-real-time-frontend-updates-with-react-serverless-and-websockets-on-aws-iot.html
SNS: http://docs.aws.amazon.com/sns/latest/dg/SendMessageToHttp.html
Upvotes: 0