如何在一个发布请求中 post 到多个端点?
How to post to several endpoints in one publish request?
我正在使用 SNS 为 android 和 iOS 推送通知。由于发送到两个设备需要不同的平台应用程序,我的端点是分开保存的。请问如何通过 SNS publish api in on request 向所有端点发送推送通知而不是很多?
我读过使用主题会给我这样的结果,但根据我的阅读,我需要他们(用户)接受(确认)他们想要收到通知..这不是要让事情变得复杂,因为用户在应用程序首次启动时已经接受了通知?
谢谢。
对于移动应用程序,您无需确认即可为端点订阅主题。在this SO question, so you can indeed use a topic to send a push notification to all endpoints. But beware of topic limits, they used to be 10000 endpoints per topic, but now it's 10000000中看到它应该绰绰有余
我正在使用 SNS 为 android 和 iOS 推送通知。由于发送到两个设备需要不同的平台应用程序,我的端点是分开保存的。请问如何通过 SNS publish api in on request 向所有端点发送推送通知而不是很多?
我读过使用主题会给我这样的结果,但根据我的阅读,我需要他们(用户)接受(确认)他们想要收到通知..这不是要让事情变得复杂,因为用户在应用程序首次启动时已经接受了通知?
谢谢。
对于移动应用程序,您无需确认即可为端点订阅主题。在this SO question, so you can indeed use a topic to send a push notification to all endpoints. But beware of topic limits, they used to be 10000 endpoints per topic, but now it's 10000000中看到它应该绰绰有余