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

关于谷歌的 FCM 推送有个小问题

  •  
  •   zhwguest · 318 天前 · 656 次点击
    这是一个创建于 318 天前的主题,其中的信息可能已经有所发展或是发生改变。

    我看官方的说明:

    向任意设备发送消息
    Firebase Cloud Messaging (FCM) 可在您的服务器与用户设备之间建立可靠而且省电的连接,让您能够在 iOS 、Android 和 Web 应用中免费发送和接收消息及通知。
    

    对于 iOS 和 Android 比较熟悉,知道怎么回事。但是对于 web ,一直就不清楚它是怎么搞的啊。自己建立一个到 FCM 服务器的 websocket ?还是用 Service Work ?必须使用 Google 的浏览器么?自己能配置服务器么?

    3 条回复    2023-06-15 17:38:39 +08:00
    yarnom
        1
    yarnom  
       318 天前 via Android   ❤️ 1
    haaro
        2
    haaro  
       318 天前   ❤️ 1
    Android transport layer (ATL) for Android devices with Google Play services
    Apple Push Notification service (APNs) for Apple devices
    Web push protocol for web apps

    https://web.dev/push-notifications-web-push-protocol/
    zhwguest
        3
    zhwguest  
    OP
       318 天前
    谢谢两位,感谢~
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1336 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 17:28 · PVG 01:28 · LAX 10:28 · JFK 13:28
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.