Readit News logoReadit News
gruez · 4 years ago
Safari on mac already supports push notifications, but unlike on chrome/firefox you need a push server certificate (similar to how push notifications work for ios apps)[1] to actually push messages. That obviously requires the $100/year of a developer subscription. It's not a huge deal if you're running a business, but if you're just a hobbyist trying to push notifications to your own devices without a third party app, that sucks.

[1] https://developer.apple.com/library/archive/documentation/Ne...

dfabulich · 4 years ago
https://webkit.org/blog/12824/news-from-wwdc-webkit-features... makes it clear that this restriction will be lifted with the new Safari 16 Push API.

"You do not need to be an Apple Developer Program member."

cmeacham98 · 4 years ago
In other words, Apple only supports a proprietary protocol that notably differs from the standard every other browser uses in that you must pay them a yearly fee and agree to their massive developer ToS in order to use it.
arthurcolle · 4 years ago
sounds like Apple!
jeroenhd · 4 years ago
Well, that sucks. The blogspam websites that spam notifications to make money off ads will be able to afford the certificate but getting notifications from your self-hosted services will cost you instead.

Hopefully Apple revises this policy (i.e. give out free certificates limited to a certain amount of notifications or a certain amount of domains) but I wouldn't keep my hopes up.

Luckily, several governments are preparing to add legislation to force Apple to allow alternative browser engines, so there's still a chance this problem might resolve itself in the future.

bzzzt · 4 years ago
Won't the certificates be revoked when misused by those blogspam sites?

I have no trouble seeing value in creating a little friction for intruding on users attention.

zakki · 4 years ago
I didn’t read the article. We can’t use Let’s encrypt certificate?
gruez · 4 years ago
No, apple's push servers only trust certificates that have been issued by apple.
gdeglin · 4 years ago
This is great news.

One of the biggest advantages native apps have had over websites is the ability to send notifications.

This difference has disadvantaged individuals and companies that find themselves needing to invest in both having a website and a mobile app, and discouraged investment into good web experiences. As websites can finally provide experiences and leverage notifications as well as apps have been able to, I think we’ll see the quality of the web improve considerably.

hbn · 4 years ago
I think the more likely outcome of this is a bunch more grandmas with 12 ads on their lockscreen at all times because users are so conditioned to click "accept" for every prompt they see just to get it out of the way

Web push notifications have basically only been used to make shitty experiences. Random websites sending you ads, every news site you just happened to click to read one article trying to trick you into letting them send notifications for new articles they publish, etc.

gdeglin · 4 years ago
Apple has been refining the iOS notification experience to prevent this from being a problem for apps and I’m sure this will apply to websites too.

For example, putting notifications in the scheduled summary or asking users if they want to turn off notifications from an app they haven’t engaged with recently.

On the other hand, why should I have to download an app in order to know when I get outbid on eBay or a notification when a package is delivered. Like any messaging channel, not every business is going to use it in a smart way overnight. But I’m confident Apple will put the right guard rails around it, and it will be a welcome replacement to email. Unlike email, web push is privacy friendly, and has standard opt-in and opt-out methods.

babypuncher · 4 years ago
Yep. When Firefox added support, I immediately noticed a bunch of sites spamming me with requests to turn on notifications.

Rather than reject them one domain at a time, I disabled it entirely in Firefox. The entire feature is essentially useless because of this.

spiffytech · 4 years ago
> Web push notifications have basically only been used to make shitty experiences

This part is a bit chicken-and-egg. If you have to build a mobile app regardless, because iOS doesn't support web push, why invest in web push too?

Once this rolls out I anticipate we'll see legitimate use cases in greater numbers, as some new projects realize they don't need to be apps anymore.

endisneigh · 4 years ago
Given that it’s opt in (likely by adding the website to your Home Screen I imagine if the Safari storage expiration is any indication) - how’s this any different than apps spamming you?
babypuncher · 4 years ago
I'm glad some people are happy about this. I'm just hoping Apple includes an option to automatically opt out of all web notification requests. The fact that every website asks you to accept notifications has rendered the feature useless, since I feel compelled to disable it entirely at the browser level to block those obnoxious pop-up.
enos_feedler · 4 years ago
I think it is a red herring to see the lack of push notification support on web as some kind of “big” handicap vs native. There are so many advantages that native brings, push notifications is probably in a second tier list (10th+).
tehbeard · 4 years ago
You want to back that up with something more substantial than the 2017 tier list meme format?
rideontime · 4 years ago
As a developer, this just happens to solve a specific problem I'm working on right now.

As a user, like hell am I ever going to enable this.

thiht · 4 years ago
Why not? If it’s a site by site authorization, it can help replace many apps.
michaelt · 4 years ago
I have notifications disabled on my browser because for every 1 useful notification I got, I get 50 requests to send me notifications because I visited a website once.
postalrat · 4 years ago
I assume as a user you don't have any notifications from any app enabled.
nicoburns · 4 years ago
Finally! If they add support for persistent offline storage that doesn’t get automatically cleaned up then mobile web apps might finally be a viable alternative to native ones. Less of a need now that react-native is more mature, but the update model of mobile we is still much better.
endisneigh · 4 years ago
That’s already possible if you add the page to your Home Screen. With this the missing piece is finally added
phillipseamore · 4 years ago
Persistent or longer than 7 days isn't guaranteed with sites added to home screen, though it rarely happens it can be cleared (has happened to me after iOS updates).

My only problem with the 7day storage limit is that every and any site gets the 7-day limit with no regard to if the user has interacted or actually used it, and to me that fails the privacy test. I've posted some ideas about that here before (https://news.ycombinator.com/item?id=30402242)

ec109685 · 4 years ago
Is local storage persisted to iPhone backups in that case?
endisneigh · 4 years ago
Finally. Though I wonder how this will be implemented. How’s this done on android?

The amount of FUD on this post is sad. People commenting on this who have no idea this has already been opt in since 15.3 via advanced safari settings.

xbar · 4 years ago
I feel like the FUD comes from battling browser-based "allow notifications" requests from websites from whom no one wants to receive notifications--to me that is learned human FUD, as opposed to bullshit-FUD from a competitor trying to manipulate a market.

Notifications suck in browsers. Maybe they turn to to magic in the iOS universe because of the device-ness aspect.

endisneigh · 4 years ago
Just disable them, no?
diebeforei485 · 4 years ago
Remember when everyone started getting Calendar spam because web pages abused being able to easily subscribe to a calendar?

Yeah. I hope they have some safeguards here. At the very least, require an Apple Developer account so abusers can't hide behind anonymity. Also, let me pre-emptively disable this feature across all websites.

llbeansandrice · 4 years ago
> Also, let me pre-emptively disable this feature across all websites.

It's opt-in. RTFA.

> Web push notifications

> Adds support for opt‑in notifications on iOS. Coming in 2023.

teakettle42 · 4 years ago
> It's opt-in. RTFA.

I’m assuming that they, like me, never want to even be asked. The request itself winds up being a form of spam.

brundolf · 4 years ago
Every other browser has supported these for years, and the sky hasn't fallen. If anything, the iOS implementation will probably be even more conservative than the others.
Nextgrid · 4 years ago
> Every other browser has supported these for years

And a lot of non-technical people I know had spam notifications coming up on their desktop because they opted into notifications on multiple spam sites over the years.

mmis1000 · 4 years ago
I think chromium edge have a somewhat conservative one already. Edge now automatically bans sites that spam random notification request that rejected by everyone from pop up new request.

Require user interaction for popping up request isn't really a clearly more strict one than edge currently does (probably equal or a bit more strict?).

qgin · 4 years ago
My guess is all of that is why it's taking until 2023
ChrisArchitect · 4 years ago
More notifications nobody is really asking for. Devs may think it's cool but when like 99% of users are disallowing webpage notifications.... It's just not newsworthy.
ceejayoz · 4 years ago
No one needs them on random websites, and I agree it's really sucky when you visit a site you've never been to before and the first thing they propose is turning on notifications. (These days, invariably with a fake notification dialog so declining doesn't lock them out from asking again. Yuck.)

There's a lot of web-based applications that could benefit, though.

ChrisArchitect · 4 years ago
ya ya, having the feature/capability is a nice to have for some web apps (web, the platform apple's been restricting/hating/building against for more than a decade), and even in that space more notifications is debatably not a good thing, but trying to also say it's not newsworthy, not a feature to dwell on from WWDC etc. Apple has a habit of making flashy announcements for stuff that's either not news/been around, or could just be rolled out in updates (like for example almost all of the silly messaging updates/features?)
Gigachad · 4 years ago
This is useful for legitimate apps. If I add the telegram PWA, I want to see notifications when I get a message.
brewdad · 4 years ago
Yup. If this isn't allow/disallow by web site, I'll be turning off all Safari notifications. Even so, aside from messaging apps, I pretty much have notifications turned off already.

I will interact with my phone on MY terms rather than have garbage pushed to me at all hours of the day.

tuxie_ · 4 years ago
Having worked with PWAs I don't get my hopes up anymore when it comes to iOS, they have added and subsequently broken support for key features in the past. I wish they would just fix the current features they claim to support rather than keep adding half-assed features that won't properly work once you install the app in the phone, for example.
VWWHFSfQ · 4 years ago
> Having worked with <technology> I don't get my hopes up anymore when it comes to iOS

In my experience iOS and Safari in general is an absolute wasteland of buggy, half-implementations of tech that should be table stakes at this point. WebRTC [0] is the most egregious. It's one of the many reasons that Google had to fork WebKit into Blink.

[0] https://bugs.webkit.org/buglist.cgi?quicksearch=webrtc+safar...

ramesh31 · 4 years ago
PWAs are never going to happen. I wish for a free and open app ecosystem as much as anyone else. But PWAs are not the way.
Gigachad · 4 years ago
The telegram PWA is shockingly good. It’s not quite as good as the native app but it feels as good as a regular okish native app. It’s useful to get around chats banned by apple as well.
collaborative · 4 years ago
Care to elaborate?
NonNefarious · 4 years ago
What is a "PWA?"
yoavm · 4 years ago
z3t4 · 4 years ago
An app that starts out as a web app, but lets you add it to your desktop and it will look just like any other app on your computer. Given that the browser/OS supports it.
jandorn · 4 years ago
A website.
ramesh31 · 4 years ago
>What is a "PWA?"

Exactly.

Deleted Comment