Amazon SNS将直接推送通知发送到单个设备 [英] Amazon SNS Sending direct push notification to individual device

查看:74
本文介绍了Amazon SNS将直接推送通知发送到单个设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在Symfony3上开发REST API应用程序.我想注册移动设备并向其发送直接推送通知.例如,当一个用户向另一个用户发送反馈时,该第二个用户将获得推送通知.

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.

使用Amazon SNS是否可以不广播,而是直接从服务器通知单个设备?

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

推荐答案

是的,可以创建一个平台,然后可以创建多个端点",以表示具有相应令牌或设备ID的SNS中的设备.那么您可以使用端点arn值通知一台设备

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

这篇关于Amazon SNS将直接推送通知发送到单个设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆