April 27, 2024

Apple Announces Web Push for Web Apps

Posted February 16, 2023 at 7:56pm by iClarified · 4891 views
Apple has announced that starting with iOS 16.4 beta and iPadOS 16.4 beta, Web Push is supported for web apps.

Since the first iPhone, users could add any website to their Home Screen — whether it's a brochure site, a blog, a newspaper, an online store, a social media platform, a streaming video site, productivity software, an application for creating artwork, or any other type of website. For the last ten years, users of Safari on iOS and iPadOS could do this by tapping the Share button to open the Share menu, and then tapping "Add to Home Screen". The icon for that website then appears on their Home Screen, where a quick tap gets them back to the site.
...
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.


Once web app has been added to the Home Screen, it can now request permission to receive push notifications if prompted by a user interaction. Users will then be able to manage those permissions per web app in Notifications Settings, just like a normal app. The notifications from web apps also appear just like notifications from other apps, they show up on the Lock Screen, in Notification Center, and on a paired Apple Watch.

To learn more about how to set up Web Push, read the article Meet Web Push on webkit.org, or watch the WWDC22 session video Meet Web Push.

Additional features include support for Focus, the Badging API, Manifest ID, Add to Home Screen from third party browsers, a fallback icon, and much more. Check out the full announcement at the link below...

Read More