服务工作者能否在chrome中使用gcm而不使用gcm? [英] Can Service Worker push notification without gcm in chrome ?

查看:242
本文介绍了服务工作者能否在chrome中使用gcm而不使用gcm?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Google的服务包括GCM无法在我的国家/地区访问。服务工作者可以在chrome中使用不带gcm的通知?或者,如果一些黑客技术可以实现这一点?

现在,Chrome也使用 Firebase Cloud Messaging 作为其推送服务,这可能会在您的国家/地区推出。您也可以使用第三方推送通知平台。这些仍然需要访问GCM或FCM,但他们可能有一些方法在限制区域访问。只需搜索推送通知第三方即可获取它们的列表。



另请参阅这个答案和这是一个更多信息。请注意它们已过时,但概念是相同的。


Google's service include GCM can not access in my country.Can Service Worker push notification without gcm in chrome? Or if some hack technique can implement this?

解决方案

Chrome now also uses Firebase Cloud Messaging as its Push Service, which may be available in your country. You could also use a third party Push Notification platform. These would still need to access GCM or FCM but they might have some ways to get access in restricted areas. Just do a search for "push notification third party" to get a list of them.

Also see this answer and this one for more information. Be aware they are outdated, but the concepts are the same.

这篇关于服务工作者能否在chrome中使用gcm而不使用gcm?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆