'iOS/iPadOS safari push api support

Does the iOS/iPadOS version of safari support push api standard with service worker?

EDIT: there is a petition you can sign to raise awareness on this topic



Solution 1:[1]

iOS don't support the W3C Spec web push notifications yet. But there is a Safari specific API for web notifications. Refer to this answer on multiple options you have.

https://stackoverflow.com/a/49803408/1057093

Update: Corrected the Answer in the above link to clarify proprietary solution is only for OS X - Safari and no solution for iOS Safari yet. Custom in app notification is the best we can do today for iOS Safari.

Solution 2:[2]

I tested iOS 12 in beta last week and as Anand said, there is no change about this functionnality and more globally for Progressive Web App because the Web Manifest, in developpement at this moment is not implemented yet.

Solution 3:[3]

iOS 15.4 added a Push API feature in safari

Settings > Safari > Advanced > Experimental WebKitFeatures

but it is turned off by default.

That doesn't mean the Web Push Notification is fully supported in iOS but it is a hint that it might be coming soon. Hopefully iOS 16 ?

Solution 4:[4]

It still doesn't, but it was just announced that it's coming in 2023.

Source: https://webkit.org/blog/12824/news-from-wwdc-webkit-features-in-safari-16-beta/

(It's at the bottom of the "Web Push for macOS " section)

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1
Solution 2 Adrien
Solution 3
Solution 4 Kende Détár