Amazon SNS Sending direct push notification to individual device

一个人想着一个人 提交于 2019-12-25 08:04:42

问题


I am developing REST API application on Symfony3. I want to register mobile devices and send direct push notifications to them. For example, when one user sends feedback to another, that second user will get push notification.

With Amazon SNS is it possible not to broadcast, but directly notify individual device from server?


回答1:


yes, is possible, you create a platform and then you can create multiple 'Endpoints' wich represent a devices in SNS with the corresponding token or device id. then you can notify to one device using the endpoint arn value



来源:https://stackoverflow.com/questions/40915798/amazon-sns-sending-direct-push-notification-to-individual-device

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!