本文介绍了使用FCM在Apple Safari中推送通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在chrome和firefox中使用FCM实施了推送通知,效果很好,但是Safari不支持FCM所必需的Service Workers.

We implemented push notifications using FCM in chrome and firefox and it worked fine, but Safari doesn't support Service Workers which is mandatory for FCM.

有人处理过此类问题吗?有什么建议吗?

Did anyone deal with this kind of issues? any suggestions?

推荐答案

虽然Service Workers现在可以在Safari上工作,但还不够.

While Service Workers now work on Safari, they are not enough.

文档说:

Safari不支持Web推送,FCM依靠它来支持浏览器.因此,这意味着Safari无法接收FCM通知.

Safari doesn't support web push, which FCM relies on for browser support. So that means that Safari can't receive FCM notifications.

这篇关于使用FCM在Apple Safari中推送通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-24 13:21