从 PHP 服务器向 Android 设备发送推送通知

Send Push Notifications from PHP Server to Android Devices

我想 send push notifications 应用程序用户并为此我在 PHP 中编写了 server side 脚本。

在许多像 this one, I have read that to send notifications from server to Android devices, we need to get Server Key, but in one of the recent tutorial 这样的博客中,我读到了 Browser Key

为了完成我的工作,我需要 key Server KeyBrowser Key,我可以知道这些 difference 之间的确切 difference =21=]。

您需要使用服务器密钥进行推送通知。

参考here服务器密钥和浏览器密钥的区别