iOS 15.4 appears to suggest that Apple is working on adding support for push notifications for web apps but it isn’t working just yet.
According to changes found in the first iOS 15.4 beta by developer Maximiliano Firtman and reported by 9to5Mac, Apple’s iOS 15.4 and iPadOS 15.4 are laying the groundwork for giving web apps the opportunity to send notifications to iPhones and iPads by adding a new API.
Similar functionality already exists on the Mac, but it has so far not been supported by either iPhones or iPads. Currently, only apps downloaded via the App Store can send people notifications. That severely limits the abilities offered by web apps and means that developers must get their apps into the App Store if they want to send users notifications. However, that looks like it could be changing in the future.
As Firtman notes, however, testing the new API results in failure. When working properly, the API will present a permission dialog box to users asking if a website can indeed send them notifications. As of iOS 15.4 beta 1, that dialog isn’t being presented which means the notifications are blocked. That will change in the future, of course.
Giving web developers the chance to send notifications to users will help make web apps more able to compete with apps that are offered via the App Store, something that will no doubt help Apple’s claims that web apps are a viable option for developers.
Developers looking forward to taking advantage of this new notifications API can read more about it on Maximiliano Firtman’s blog including information on the testing carried out.