Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

MacRumors

macrumors bot
Original poster
Apr 12, 2001
60,429
24,914


The iOS and iPadOS 16.4 betas that were seeded to developers today add support for web push notifications, a feature that Apple promised would be coming to iOS 16 back in June.

ios-16-4-web-push-notifications.png

Websites that are saved as web apps to the Home Screen can send iPhone and iPad users Web Push notifications through the Push API, Notifications API, and Service Workers. A web app added to the Home Screen can ask the user permission to send push notifications, as described by Apple's WebKit team.
A web app that has been added to the Home Screen can request permission to receive push notifications as long as that request is in response to direct user interaction -- such as tapping on a 'subscribe' button provided by the web app. iOS or iPadOS will prompt the user to give the web app permission to send notifications. The user can then manage those permissions per web app in Notifications Settings -- just like any other app on iPhone and iPad.
Notifications from websites are designed to work exactly like notifications from other apps, showing up on the Lock Screen in Notification Center and on a paired Apple Watch.

Other new Safari 16.4 features include support for Focus for managing Safari Push Notifications, badge counts for website push notifications, third-party browser support for Add to Home Screen, and more.

Article Link: iOS 16.4 and iPadOS 16.4 Betas Add Support for Web Push Notifications
 
Last edited:

Lounge vibes 05

macrumors 68030
May 30, 2016
2,911
8,821
If anyone wants to know why, it’s not because it was a highly requested feature.
It’s because a part of the investigations under Apple for anti-trust involving the App Store are the claims that they treat web apps worse, and don’t give them the same functionalitie as AppStore apps.
This would include functionality like… Oh, I don’t know… Push notifications maybe?
“Third-party app stores should be permitted and users should not be prevented from sideloading apps outside a gatekeeper’s own app store. Legislative and regulatory measures should prohibit restrictions on sideloading, alternative app stores, and web apps.
Requirements that ban developers from using alternative in-app payment systems should be banned.
Third-party web browser apps should be able to offer full functionality and not face browser engine restrictions .
Pre-installed apps, default options, and anticompetitive self-preferencing should be limited, including in search results.
Users should be able to choose their own apps as defaults and delete or hide pre-installed apps.
App store review processes should be more transparent.”
From:
 
Last edited:

DFZD

macrumors 6502a
Apr 6, 2012
833
1,887
I like my coffee like I like my annoyances.. Looking forward to some more pesky notifications I can comfortably ignore.
 
  • Like
Reactions: koelsh

stevemiller

macrumors 68000
Oct 27, 2008
1,932
1,421
can i feature request the opposite? i have 'allow websites to ask permission to send notifications' disabled on desktop safari, and yet i still get endless requests.
 

Jakexb

macrumors 6502a
Mar 18, 2014
798
1,106
WOW!

I never thought they would do this. Seriously it's one of the only reason most apps are apps. Almost everything else an app does, a mobile website can do... except get notifications.

Now there is literally no reason to have a Twitter app or a Facebook app or any messaging app. You can just save the mobile website to the homescreen and still get your notifs.

My assumption was that Apple was dragging their feet on this because they knew they would lose App Store revenue if a website could do all the things a native app could do.
 

Fraserh02

macrumors regular
Jun 18, 2017
101
372
Never have I ever wanted a notification from a website.

Hopefully Apple makes it easy and obvious on how to fully disable web notification requests.
Although I understand in most cases, in work we have a website which we use that would be valuable for push notifications as there isn’t a native app.

On chrome on Mac this feature already exists, and you can choose to disable it from even prompting you at all / disable completely so I hope / would think apple would too.
 

StellarVixen

macrumors 68040
Mar 1, 2018
3,051
5,329
Somewhere between 0 and 1
WOW!

I never thought they would do this. Seriously it's one of the only reason most apps are apps. Almost everything else an app does, a mobile website can do... except get notifications.

Now there is literally no reason to have a Twitter app or a Facebook app or any messaging app. You can just save the mobile website to the homescreen and still get your notifs.

My assumption was that Apple was dragging their feet on this because they knew they would lose App Store revenue if a website could do all the things a native app could do.
From "there is an app for that" to "why do I even need an app"?
 

RedTheReader

macrumors 6502
Nov 18, 2019
444
1,075
WOW!

I never thought they would do this. Seriously it's one of the only reason most apps are apps. Almost everything else an app does, a mobile website can do... except get notifications.

Now there is literally no reason to have a Twitter app or a Facebook app or any messaging app. You can just save the mobile website to the homescreen and still get your notifs.

My assumption was that Apple was dragging their feet on this because they knew they would lose App Store revenue if a website could do all the things a native app could do.
It is the exact reason that they haven’t done it yet. I’m not trying to be conspiratorial, most applications would simply disappear if websites could truly replicate their functionality. Why would Apple and Google want that? Like some commenters above said, this is because of the antitrust cases.
 

redheeler

macrumors G3
Oct 17, 2014
8,091
8,273
Colorado, USA
If anyone wants to know why, it’s not because it was a highly requested feature.
It’s because a part of the investigations under Apple for anti-trust involving the App Store are the claims that they treat web apps worse, and don’t give them the same functionalitie as AppStore apps.
This would include functionality like… Oh, I don’t know… Push notifications maybe?
“Third-party app stores should be permitted and users should not be prevented from sideloading apps outside a gatekeeper’s own app store. Legislative and regulatory measures should prohibit restrictions on sideloading, alternative app stores, and web apps.
Requirements that ban developers from using alternative in-app payment systems should be banned.
Third-party web browser apps should be able to offer full functionality and not face browser engine restrictions .
Pre-installed apps, default options, and anticompetitive self-preferencing should be limited, including in search results.
Users should be able to choose their own apps as defaults and delete or hide pre-installed apps.
App store review processes should be more transparent.”
From:
Finally! Not all websites have an app, and I don’t always trust a website enough to have their app installed on my phone, but notifications that link me to an article or item would be really useful.
This is massive news for web app developers and many open-source cross-platform projects. Seriously game-changing. Withholding this feature on iOS was a disgusting practice and I'm so glad to finally see Apple feeling the pressure from regulators, even if many years too late.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.