iOS 12 Web推送通知 [英] iOS 12 web push notifications

查看:93
本文介绍了iOS 12 Web推送通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

新的iOS 12野生动物园是否支持Service Worker的Web推送通知? 在iOS的最新版本中,有服务人员,但没有pushManager对象.

Does the new iOS 12 safari support web push notification with service worker? In the last version of iOS there was service worker but there wasn't the pushManager object.

推荐答案

iOS 12和13仍不支持以下功能:

iOS 12 and 13 still doesn't support these features:

  • 网络推送通知
  • 背景同步
  • 页面生命周期
  • WebViews上的服务人员
  • 通用链接/链接捕获

我认为iOS不想在PWA中支持这些功能,因为这些功能有很大的机会被不必要地利用(垃圾邮件等).而且,也许他们想强迫开发人员创建本机应用程序,而不是渐进式Web应用程序.

I think iOS doesn't want to support these in PWA because these features have a bigger chance to be unnecessary exploited(spam, etc). And also maybe they want to force developers to create the native application rather than the progressive web application.

这篇关于iOS 12 Web推送通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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