如何使用我的应用程序向所有设备广播推送通知。我在 Urban airship 中看到过这个功能,它可以向所有具有该应用程序的设备发送广播消息。我需要使用自己的程序来发送广播。这个可以吗??如果是怎么办?我在谷歌上搜索过,但找不到令人满意的答案。任何与此相关的链接都会有所帮助。
谢谢
编辑
curl --header "Authorization: GoogleLogin auth=*my auth key here*" "https://android.apis.google.com/c2dm/send" -d registration_id=<registration id of the device> -d "data.payload=You have recieved a Push Notification" -d collapse_key=0 -k
我一直在使用它来发送通知,通知被传递到注册的设备,即模拟器。我需要向所有使用我的应用程序的设备发送通知。它是如何实现的?