16

I am new to Amazon services. I already used FIREBASE and PUBNUB for browser notification in other applications. I would like to build browser notification like FIREBASE or PUBNUB using AWS SNS.

For web application front end I am using ReactJs and back-end Nodejs lambda functions.

Is it possible to use SNS for Browser or Web application Notification? Please advice.

Thanks

SJL
  • 215
  • 3
  • 11
Sarath
  • 1,459
  • 3
  • 22
  • 38
  • https://stackoverflow.com/questions/43444435/sns-notifications-to-browser?rq=1 is similar question. – SJL Aug 14 '19 at 07:20

2 Answers2

11

You can use AWS IOT Websockets or AWS AppSync for This. Following articles will give you an overview of using these technologies.

Out of AWS AppSync and AWS IOT, I would recommend AppSync due to its support for JavaScript Frameworks.

Note: However, with AWS SNS, this is not possible in browsers (But possible for mobile applications with Push Notifications).

Ashan
  • 18,898
  • 4
  • 47
  • 67
5

AWS SNS doesn't support web push. Its said that they are planning to but long time ago. Developer Forum Entry

Thank you for contacting us.

Currently SNS does not support Chrome push but we are considering adding support for it.

Regards, George

I came across to some solutions to this using middlewares. Have a look.

deepstreamhub

pushkin

Can Sahin
  • 1,156
  • 7
  • 12