【问题标题】:How can I Receive GCM/FCM Notification in Internet Explorer?如何在 Internet Explorer 中接收 GCM/FCM 通知?
【发布时间】:2018-11-20 22:29:53
【问题描述】:

我是 Google Cloud 的新手。我使用 Google Cloud Messaging 创建了推送消息服务。

它在 Google Chrome 和 Firefox 中运行良好,但在 IE 中不行。

我正在使用 service-worker 来接收通知,这在 Google Chrome 和 Firefox 中可用,但在 IE 中不可用。

如何在 IE 中发送推送通知?

【问题讨论】:

  • 我也有同样的问题...你做了什么?
  • @user2503775 最后我们使用asp.net/signalr 进行推送通知

标签: internet-explorer google-cloud-messaging firebase-cloud-messaging service-worker


【解决方案1】:

IE 目前不支持 Web Push 标准:https://platform-status.mozilla.org/#push。 看起来它正在为 Edge 开发。

【讨论】:

  • 现在看一下这个特性的规范,也许可以写一个polyfill。
  • 我认为这是不可能的。当您的网站未打开时,您将如何实现接收通知?
  • 我在发表评论后大约 5 分钟意识到了这一点。 =(
猜你喜欢
  • 2016-12-24
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2022-12-15
  • 1970-01-01
  • 1970-01-01
  • 2023-02-25
  • 2017-02-08
相关资源
最近更新 更多