Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何从PHP向多个 Android 设备发送推送通知?
我有将其发送到单个设备的工作代码,但不适用于多个设备。
根据谷歌的文档,
Google Cloud Messaging for Android (GCM) 是一项服务,可帮助开发人员将数据从服务器发送到 Android 设备上的 Android 应用程序
使用此服务,您可以在新数据可用时向您的应用程序发送数据,而不是及时向服务器发出请求。