Anyone using Node.js with Amazon SNS and Apple Push Notifications?

后端 未结 3 621
心在旅途
心在旅途 2021-01-30 18:36

I\'m looking for examples of using node.js with Amazon SNS and Apple APN push notifications. We use Amazon for our hosting, and I have used SNS before, it\'s pretty simple. But

3条回答
  •  情歌与酒
    2021-01-30 19:23

    It's fairly straightforward as CargoMeister pointed out.

    I've written a blog post about getting it setup check it out here http://evanshortiss.com/development/mobile/2014/02/22/sns-push-notifications-using-nodejs.html

    I've also a Node.js wrapper module that is easier to use than the AWS SDK as I've worked around the documentation. It supports iOS and Android Push Services (as that's all I've tested/worked with), manages message formats other than Strings and exposes events: https://npmjs.org/package/sns-mobile

    I haven't used topics to manage endpoints, not sure is that an issue though. You just create PlatformEndpoints first via the SNS console.

提交回复
热议问题