问题
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