175 points · by judge2020 · 4y ago · 172 comments
[1] https://developer.apple.com/library/archive/documentation/Ne...
"You do not need to be an Apple Developer Program member."
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.
I have no trouble seeing value in creating a little friction for intruding on users attention.
I would accept a compromise like "you get to ask for permission if you install the program as a web app through the menu" or something similar.
I'm all for trying to end the shit blog spam and adware that only abuse the notification permission, but I also want to be able to use this tech myself. Notifications on Android and presumably iOS are a solved problem, I don't see why web applications would need to be different.
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.
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.
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.
What’s wrong with prioritized emails? Of course they prefer to send you push notifications via app because it is an additional (and someway less filtered) channel.
Once also push notifications will get the same spam inbox filtering system (which iOS already has) then we will all scream for the next channel to be filled of spam (retina displayed popups?)
Rather than reject them one domain at a time, I disabled it entirely in Firefox. The entire feature is essentially useless because of this.
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.
A website spamming you is very different from an app spamming you. Going to the app store and installing an app takes much more buy-in from a user than just clicking a link. If someone shares a news article from a random site I've never seen before, I might be willing to click it. If that same person told me to install an app to read an article, it's not happening in the first place. I've got a very short list of curated apps I installed on my device. The web is mostly garbage though and most of it shouldn't be sending notifications.
As a user, like hell am I ever going to enable this.
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)
This was changed.
> 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
My understanding is that the limit is that local storage is cleared after 7 days of interaction at the browser level (e.g. non-vacation days) without interaction with a top-level origin.
I do not know if merely displaying information counts as an interaction.
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.
Notifications suck in browsers. Maybe they turn to to magic in the iOS universe because of the device-ness aspect.
Basically, you get prompted to add notifications so you can get a prompt to add notifications - while for 90%+ of sites visited, you would _never_ approve notifications.
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.
It's opt-in. RTFA.
> Web push notifications
> Adds support for opt‑in notifications on iOS. Coming in 2023.
I’m assuming that they, like me, never want to even be asked. The request itself winds up being a form of spam.
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.
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?).
There's a lot of web-based applications that could benefit, though.
I will interact with my phone on MY terms rather than have garbage pushed to me at all hours of the day.
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...
It's been nearly a decade, and we're still talking about PWAs being the next big thing. Mozilla/Firefox has killed them off for good [0], and Safari support is tepid at best. It was ultimately just another push by Google a la AMP to corner the browser market some more, and the rest of the vendors are fed up with it. Devs by and large never bought into it because they are objectively inferior to native, while the tiny number of niche use cases where they do make sense have (rightfully) just avoided the complexity and remained as normal web apps.
[0] https://9to5google.com/2021/01/27/firefox-discontinues-work-...
https://developer.mozilla.org/en-US/docs/Web/Progressive_web...
Exactly.
Android 2 had this over a decade ago!
That you can turn a browser into an app platform is not a success for browsers, it’s a failing in application distribution and native application tooling.
As a user I am not looking forward to the inevitable deprecation of native applications to PWAs; because when that happens I will not be able to turn off the push notification feature in the browser.
The same was true of JavaScript: it’s impossible to run a browser without JavaScript, what was originally progressive enhancement is now mandatory code execution; for many web developers that is not an issue at all, as a user: I shouldn't have to trust _all_ the code in the world that my browser can potentially pull in.
The sandbox, as complex as it is, is not infallible.
All of this consolidation on the browser frightens me, personally, and maybe you disagree, but honestly I’d like someone to be pushing back on the “faster horse”[0] requests from web developers.
0: reference to the famous quote by Henry Ford: “If I had asked my customers what they wanted they would have said a faster horse.”
Edit: expected result from the hackernews audience. But at least if I managed to convince one person that the browser shouldn’t do everything then it’s worth the karma sacrifice.
> the inevitable deprecation of native applications to PWAs
If that were going to happen it would have happened already, at least on Android. The reality (and I say this as a web developer) is that it's harder to make mobile apps that perform and feel and look as good as native apps. The same is not true on desktop OSes, with their current SDKs and dev experience, which is the reason they've taken over there.
> I will not be able to turn off the push notification feature in the browser
I have no idea what this means either. You already have to opt-in to notifications for each individual web app, which is actually more than can be said for native apps. Web apps are assumed to be user-hostile, vs native apps that are usually just slightly user-hostile but get treated as non-hostile anyway.
> I shouldn't have to trust _all_ the code in the world that my browser can potentially pull in
How is this different from trusting all the code in the world that your native apps pull in? And before you say it's all been screened by Apple- there are various widely-used methods to dynamically load code into an app after the fact
PWAs are especially important on mobile OSes because they put competitive pressure on the walled garden. xCloud only exists on iOS because of a web app. When I used a de-googled Android phone I was only able to use maps and access my bank account by using web apps. The web is an open platform that pierces the veil, and keeps the native ecosystems honest.
The difference is that organizations sign a contract to publish into the App Store, and do so under their legal name. This gives Apple the opportunity to be punitive in the face of abuse. They do not have this ability for the web (for practical and for regulatory reasons).
- web dev that prefers native apps most of the time
What you might intend to say is that it’s the only cross platform application distribution and execution environment that is free.
But how free is it when one company controls 80%+ of the browser market and has the muscle to force standards?
Google's dominance is unfortunate, but their support for the web has been vital in keeping it (sort of) competitive with the proprietary platforms, including their own. Google does this for financial reasons, of course, but it is still a good thing.
And the web is still the only major client platform we have. We can still successfully object when Google promotes changes that are not in the platform's interest. Look how often Mozilla has thwarted Google proposals for the web, like their vision of webasm or web components.
If you just mean distribution then that's also not true. Android, Windows, MacOS (although this is eroding), and Linux all have open publishing of native applications.
Native apps will always be necessary for something that actually needs it.
If anything you should be happy about this as it’ll remove control of everything from Google and Apple exclusively. Funny you talk about consolidation…
For now, I’m not sure how that will be though, if it’s anything like adding a calendar then it’s just hitting “yes” on a prompt.
> Given that this will be relegated to a small niche at best.
How many apps on your phone want to send notifications?
> Most people aren’t going to go into Safari advanced settings and toggle a flag.
Assuming that’s how it will be enabled (and in perpetuity), I can’t see people doing that in the general case either and this the effectiveness of this feature is questionable.
I think everyone in this thread assumes they can deploy PWAs in a generally available way that support push notifications over the web, if you have to go into safari settings (as in, the settings app) then people are not likely to enable it and the this you can’t use them generally.
What I’m saying is: either this is easy to use for users, and it will be abused; or it’s hard for users and the actual usefulness of the feature is dubious.
It’s a safari flag in the advanced settings.
I’ll never understand why people aren’t for more options. Why constrain yourself?
I literally get calls from people who believe their computer has "malware", and it's just dozens of notification subscriptions in their browser spewing adult content ads onto their screen.
Of all the web APIs out there, this is the one most aggressively misused for spam ads, and most rarely actually useful. We literally spent a decade demanding people add a popup blocker into the web browser, and a decade later, injected a popup ad tool back into the browser.
What it needs is a user-driven gesture restriction and a harsh penalty by Google for firing on first-load.
There is a user-gesture restriction. So now there's an HTML pop-up on dozens of pages.
Imo the user-gesture + permission-modal design is fundamentally bad. We penalize sites by making them have to maim their cover with grotesque user-gesture cutouts, then, once the user clicks (makes a user gesture) they have to click again. Sites should just request push notifications, without user gestures. Something should show up in the awesome-bar, and users can enable it at their leasure. Rather than an active "pull" flow for permissions, we need a "push" flow where users can passively enable/disable some permissions freely, in a more chill way. Conversion rates would plummet, but the whole web would be a much more pleasant place & actually operate for-the-user, which is what the internet is for[1].
For many users, being forced into web-only non-native cloud “apps” is not actually feature.
Especially for something like end-to-end ostensibly client-side encrypted e-mail.
I really don't think any mail client needs corner of screen popups to be useful: I respond to most emails within 5-10 minutes, have used web email since 2005, and I've never wanted or allowed push notifications on my desktop.
It is, at best, a solution looking for a problem, and at worst, an adtech popup spec maliciously impressed upon the web with a casual justification for building it.
I never heard of this before though, but turns out it's been in Firefox since 2016. I did set "always deny" for notifications a few years ago as I got so tired of all the sites whining about it, so I guess that includes these push things too(?) Sites still whine about it with in-site popups of course if they see that permission is denied... Sigh...
When looking it up a bit for this comment I found this description that I found somewhat amusing:
"Web push notifications allow users to opt-in to timely updates from sites they love and allow you to effectively re-engage them with customized, relevant content."
Lotsa words for "allows you to spam them ads".
That is most definitely malware.
If MS released Windows with pre-installed WSA we would be half way there. The truth is we are still perhaps a decade away from this and everyone running M1's happening so until then PWAs fill the gap
It is slightly annoying that the notification chime plays for each calendar tab I have open and forgot to close though.
Every answer: ‘GTFO’
“Here is the App Store! Use native apps!”
“We don’t need native apps!”
MediaSourceExtensions are vital for supporting media in Safari (and already available in iPadOS and MacOS [and under the hood on iOS for VP8/9 support]) and the fullscreen API for arbitrary elements is necessary to support video + slides (or other sideloaded material) and to support captions/subtitles that need features not supported with regular textracks.
“Safari is the new IE” has been the meme for years, despite the fact the situation is totally different. Any time Safari is mentioned or gets a new feature it’s just posts from people complaining Safari doesn’t support WebUSB or whatever their pet feature is.
So Safari added the one I see people complaining about more than anything else. The top complaint on HN for literally years.
And you just switched your complaining to something else. Most people here are celebrating they got something they’ve wanted forever.
Personally I’m just tired of all the bitching. There is no escaping it, it seems.
You could have framed your comments much more positively. Perhaps that would have helped.
My 2¢ guess.
I certainly know the noise in the comments here when Safari is discussed. And that's why I only gripe on these two features which are available in every Safari for several years now, except on iOS, with no apparent reason.
The situation with Safari and IE is very different. What is not different is that they were the most damaging browsers for progress of the web platform in their respective eras.