Can we run firebase realtime listening on ios serviceworker?

前端 未结 3 1814
萌比男神i
萌比男神i 2020-12-09 06:18

As of iOS 11.3 there is serviceworker feature supported

Even though it has no support for notification. I wonder if it possible to just run any realtime listener, su

3条回答
  •  一整个雨季
    2020-12-09 07:08

    Unfortunately not, while Safari on native IOS is getting closer to the functionality we see in chrome, firefox etc. we currently ( as of this comment ) do not have anyway of sending push notifications on native IOS Safari ( or any other ios browser like chrome etc. ).

    Safari for mac uses a custom mac solution for these notifications which you can check out here https://developer.apple.com/notifications/safari-push-notifications/.

提交回复
热议问题