Hacker News new | ask | show | jobs
by perardi 1479 days ago
Push it back to 2033, save us from the pain.

…OK, that’s too dismissive. I do know that certain web apps and sites have legitimate uses for push notifications.

But I encounter these far, far more often on news sites, where I profoundly do not want notifications, ever.

Probably too convoluted of a “power user” setting for Apple to consider, but I would rather have a very strict opt-in whitelist where I proactively enter sites where I actually do want notifications.

5 comments

I think this is a big step towards more PWA support. Would love a world where the alternative to building native was just building a PWA instead of building to some other framework that only exists as an abstraction to interact with a few specific platforms.

That being said, I definitely hope it's off by default

Yep. We're now really close to the original iPhone launch promise of "Want a new app that isn't shipped with the phone by Apple? Just build it as a web app!"

(Although to be honest, apart from push notifications, which are still vapourware right now, we've been able to replace almost everything native apps do with web apps for a while now. I'll be super curious to see how stuff like Rust and WASM go using some of these newly announced features...)

Yup. Really hope PWAs don't go the way of web components. There's been some genuinely incredible work done on that set of APIs and I'd hate to see it looked over.

The web is in a really funny place right now. It's easier to synthesize audio to read your blogpost to the user in whatever dialect you want than it is to style a number input consistently across browsers

I just want to be able to use Slack and other services without installing the app and giving them even more permissions.

I'd rather go to the website, enable notifications, and never install any app.

A strong and rare endorsement of the iOS 1.0 model.
> where I proactively enter sites where I actually do want notifications.

Isn't this how it works in Firefox/Chrome right now? I routinely get prompts from websites asking for push notification permission, which I always deny. Can't imagine Safari not doing the same thing.

The act of getting a prompt for something you never want and needing to deny it before being allowed to consume the content you do want is the issue.
Apps do that too though.

No Signal, I do _not_ want to enable push notification on this iPad. Still. Just like every other time you asked me.

I’ve heard to solution to this problem is to accept the app’s modal, then reject the system’s.
Oh, thanks.
You would still need to grant access, so...
Safari goes beyond Firefox and Chrome here, making the sane choice to only let you show a notifications permission prompt in response to a click. That alone makes it considerably better than what we're subjected to today with permission prompts showing on page load.
Firefox and Chrome don't allow permission prompts without user input. That's why all news sites will show you a banner asking you to click it to enable notifications.

I believe Firefox doesn't show the prompt at the top at all anymore nowadays and just has a glowing notification bubble in the address bar, but it's been a while.

>Firefox and Chrome don't allow permission prompts without user input.

They absolutely do.

https://web.dev/notification-on-start/