我一直在寻找通过浏览器发送通知的最佳、简单的解决方案。在浏览器中向 android/ios 设备发送推送通知的最佳解决方案是什么?我找到了 pubnub,但它不适用于移动设备。
最佳答案
有几种方法可以做到这一点。
先看看第一步的实现-Push Notifications on the open web由 Google Developers 自己开发。
我已经尝试/使用了这两个,感觉它们足够好-
Chrome Push - 关于 Github 的代码示例
希望对您有所帮助。
关于javascript - 在 Android/iOS 中通过浏览器发送推送通知,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34371379/