V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
chiaf
V2EX  ›  iOS

iOS 16.4beta 中 web 应用也可以推送通知了

  •  
  •   chiaf · 2023-02-20 12:55:52 +08:00 · 1788 次点击
    这是一个创建于 432 天前的主题,其中的信息可能已经有所发展或是发生改变。

    Web Push for Web Apps on iOS and iPadOS

    Web Push for Web Apps added to the Home Screen

    Now with iOS and iPadOS 16.4 beta 1, we are adding support for Web Push to Home Screen web apps. Web Push makes it possible for web developers to send push notifications to their users through the use of Push API, Notifications API, and Service Workers all working together.

    4 条回复    2023-02-20 17:45:55 +08:00
    okakuyang
        1
    okakuyang  
       2023-02-20 13:07:56 +08:00
    必须要添加到主屏变成 pwa 才能推送,但是 safari 没有弹窗添加到主屏幕的 api 吧
    abelyao
        2
    abelyao  
       2023-02-20 13:34:02 +08:00
    卧槽!终于可以不用为了通知安装 chanify 或 bark 了
    molika
        3
    molika  
       2023-02-20 16:10:28 +08:00
    喜大若奔 不知会有什么限制不
    raykle
        4
    raykle  
       2023-02-20 17:45:55 +08:00
    @okakuyang #1 还没有,只能提示用户,教用户怎么去操作添加到主屏幕
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1716 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 16:30 · PVG 00:30 · LAX 09:30 · JFK 12:30
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.