Search code examples
androidiosreactjsfirebaseprogressive-web-apps

PWA Web Push Notification in IOS


I'm developing a PWA. I want it to be suitable for both android and IOS user. But I see some articles saying that web push notification is not available for IOS.

My question is:

  1. Is it still unavailable now?
  2. If unavailable, what can I do to achieve this?

I'm seeking suggestion about these. Thanks in advance!


Solution

  • According to https://caniuse.com/push-api it is only available via Apple’s custom protocol: Safari Push Notifications. This however requires an Apple App Id. Another solution would be to fall back on email/text message, or integrate with a notification app like https://pushover.net/