Apple’s Safari internet browser has lagged behind some options in recent times, particularly with background companies. After years of ready, it looks as if Safari will lastly assist internet push notifications on all platforms.
Following at present’s WWDC occasion, Apple revealed a put up on the WebKit Weblog explaining what’s new within the Safari 16 Beta. Maybe essentially the most stunning addition is Net Push assist, which is already purposeful on the macOS Ventura beta launch. The characteristic will enable websites and internet apps to ship push notifications, even when they don’t seem to be open.
“Net Push is coming to Safari 16 on macOS Ventura,” Apple mentioned within the weblog put up. “This allows you to remotely ship notifications to customers of your web sites and internet apps — and ship these notifications even when Safari isn’t operating. It makes use of the identical mixture of internet requirements you might be aware of from different browsers: Push API and Notifications API, together with Service Employee.”
Similar to Firefox, Safari will solely enable an internet site to point out a immediate to allow notifications after you’ve interacted with the web page — for instance, you received’t see the popup message proper after a web page hundreds, however you would possibly see one after you click on a hyperlink or button. That received’t cease the pages from exhibiting buttons within the web page for enabling notifications, however it can stop Safari itself from spamming you.
Safari on macOS has technically supported push notifications since Mac OS X 10.9, however Safari’s notifications worked differently than push notifications different browsers — websites needed to register for a paid Apple developer license, and the expertise for sending alerts wasn’t related in any respect. This new implementation makes use of the identical push commonplace that each different browser makes use of, and websites don’t must pay for Apple developer accounts to offer guests with notifications.
Importantly, Apple says Net Push will arrive on the iPhone and iPad someday in 2023. That’s a huge win for internet apps on cellular Apple gadgets — you may all the time use different browsers on Mac in the event you wanted push notifications, however Apple doesn’t enable third-party browser engines on iPhone and iPad. Net Push will make Progressive Net Apps higher than ever on iPhone and iPad, so long as Apple doesn’t introduce any unusual limitations or lacking options.
Supply: WebKit Blog