News for hackers. Stuff that matters.
Re:Safari is now probably the influential wild card browser ... by heavyset_go on Friday March 19, 2021 @10:06PM (#26520148)
> (Conversely, if Safari refuses to implement some alleged 'feature', it becomes much less useful even if Chrome does implement it.)

The fact that Apple refuses to implement basic features in mobile Safari that Firefox and Chrome have had for years now, and the fact that they refuse to allow other browser engines on iOS is the reason why we can't have nice things like progressive web apps.

I recently worked on a health app related to the COVID pandemic. The most common use case would be served really well by a PWA, and as such, there's no reason users would need to install an app on their phones to access the web app's full set of features.

Despite the web app working perfectly on Android and across Windows, Linux and macOS without native integration, we now must dedicate time and resources to develop an additional iOS app just so iOS users, which over half of Americans are, aren't left out.

This is an expensive endeavor time-wise and money-wise, during a pandemic where time is of the essence and resources are stretched thin. It shouldn't be this way, but it is.

Re:Safari is now probably the influential wild card browser ... by Google234 on Saturday March 20, 2021 @01:45AM (#26521036)
I don’t want websites to be able to send notifications to my phone. Sites abuses this and are always asking on my computer and it’s too easy to accidentally say accept.
Re:Safari is now probably the influential wild card browser ... by onion2k on Saturday March 20, 2021 @02:24AM (#26521201)
The default setting for notifications in Chrome is "Sites can ask to send notifications", but you can set that to false in "Preferences > Privacy and security > Site settings > Notifications" and you'll never see the browser popup again.

This is a feature that Chrome has had for about 6 years. The fact you haven't discovered it shows Chrome's UX could be better, but the fact you haven't searched for it might alsp show that the popups aren't quite such a problem for you after all.

Re:Safari is now probably the influential wild card browser ... by melq on Saturday March 20, 2021 @06:18AM (#26521996)
You don't seem to understand what "I don’t want websites to be able to send notifications to my phone." means.
Re:Safari is now probably the influential wild card browser ... by danShumway on Saturday March 20, 2021 @01:12PM (#26524480)
You'd rather install the website as a native app so that it has even more device access and then allow it to send notifications to your phone?

Is that really a cleaner, less intrusive UX for you then it would be to have an easily ignorable button next to a website's address bar that would allow you to turn notifications on or off for each website with maybe three or four clicks at max?

Re:Safari is now probably the influential wild card browser ... by oji0hub on Saturday March 20, 2021 @05:46PM (#26526301)
> You'd rather install the website as a native app so that it has even more device access and then allow it to send notifications to your phone?

I can always chose not to install an app.

> Is that really a cleaner, less intrusive UX for...

Imho it's a security question. I don't care if it's clean or less intrusive, the browser should be a sandbox.

Re:Safari is now probably the influential wild card browser ... by danShumway on Saturday March 20, 2021 @07:56PM (#26526999)
> I can always chose not to install an app.

Sure, but I can also choose not to use a website or service. If a set of features is only available in a specific medium (whether that's a website or an app) your choice is the same -- you either use it in that medium or you don't.

> the browser should be a sandbox.

This is an interesting point, because I do get where you're coming from, but I almost draw the opposite conclusion from the same data. The browser is a sandbox, so I want to put things in it. I refuse to install a native app to check my bank balance or post on social media, I don't trust those companies with that level of access to my phone.

The browser is a better sandbox than my native device, and notifications don't really break the browser sandbox in any significant way. So if (as heavyset_go suggests) notifications are the difference between having an app built in the sandbox or out of it, then I want notifications, because I want the app to be built in the sandbox.

If having notifications could make it feasible to use Twitter without installing an app, then great, we should do that. Or if notifications are enough that I don't need to have an email app or Matrix client installed... it's a pretty substantial win for security if I can get rid of those apps on my phone and use them as mobile progressive websites instead. Having email notifications on my phone is mandatory for me, I can't drop that feature. But is that alone a good reason to install a completely separate application that's requesting filesystem access or contact access?

Re:Safari is now probably the influential wild card browser ... by onion2k on Saturday March 20, 2021 @09:24AM (#26523063)
If you block a website sending you Chrome notifications it blocks notifications for all your Chrome installations, including your phone.

If you turn notifications off for Chrome everywhere you won't see Chrome web notifications anywhere.

If you're talking about some other way websites can send notifications to your phone then I don't think that has anything to do with Chrome. And I can't think of what mechanism you're talking about.

Re:Safari is now probably the influential wild card browser ... by melq on Saturday March 20, 2021 @10:05AM (#26523315)
My point is that the person said "I don't want websites to be able to send notifications to my phone", and then you responded by explaining how one can prevent such notifications via configuration.

That is true, but not really relevant to what he said. He didn't say "I wish there was a way to configure my browser to not send notifications to my phone".

You then followed up with a snarky line telling them the thing that bothers them doesn't actually bother them, and that wasn't great either.

Re:Safari is now probably the influential wild card browser ... by ralusek on Saturday March 20, 2021 @01:18PM (#26524522)
If I said "I don't want bears to be able to maul me in my sleep," and someone said "here's an option you can check which prevents that from ever happening," please explain to me how that failed to solve my problem.
Re:Safari is now probably the influential wild card browser ... by melq on Saturday March 20, 2021 @02:06PM (#26524819)
OP didn't say "I want to prevent chrome from sending notifications". If he did, then sure, having an option toggle would solve his problem. But that's not what he said.

He said he doesn't want chrome to be able to push notifications to his phone. Having an option to disable that feature means it is has to be possible in the first place.

Maybe I am being overly pedantic, but to me the distinction matters.

Re:Safari is now probably the influential wild card browser ... by egeozcan on Saturday March 20, 2021 @03:36PM (#26525540)
Then it should be said "I don't want Chrome pushing notifications on anyone's phone, ever".

If you want it for yourself, you can make it happen. If you change a setting that disables ALL notifications for Chrome in your Android phone, your condition is satisfied. Chrome is not able to send notifications, unless the developers find a workaround :)

I want selected websites to be pushing notifications to me through Firefox. For example ebay-kleinanzeigen. Why should I install an app for that purpose?

Re:Safari is now probably the influential wild card browser ... by melq on Saturday March 20, 2021 @03:57PM (#26525679)
I hope I'm not coming off as contentious, and I know I'm sort of beating a dead horse here, but I really feel like this distinction matters, so bear with me:

>Chrome is not able to send notifications, unless the developers find a workaround :)

Yes, it is able to send notifications. It won't (or shouldn't, at least) but it is still capable of sending notifications.

If I put my manual transmission car in first gear, it's never going to shift to second, but it still able shift to second.

Lets say I told you your showerhead has the capability to live stream your showers on youtube, but that feature has been toggled off. I'm sure you would understand if some people didn't want that to be possible in the first place, whether or not you agree with them.

> Why should I install an app for that purpose?

I'm not saying you should! I'm not arguing the merits of the original opinion, I'm simply saying there is a difference between whether an application can do something, and whether it will do something.

Re:Safari is now probably the influential wild card browser ... by egeozcan on Saturday March 20, 2021 @04:50PM (#26525983)
If you turn off notifications for Chrome, it can't send notifications. If you rip off your transmission, your car can't switch to first gear.
Re:Safari is now probably the influential wild card browser ... by oji0hub on Saturday March 20, 2021 @05:48PM (#26526308)
That's not the same thing..........
Re:Safari is now probably the influential wild card browser ... by TheAdamAndChe on Saturday March 20, 2021 @08:55AM (#26522873)
The point is that you don't represent everybody, yet the browser gives you a choice instead of forcing you to do something.
Re:Safari is now probably the influential wild card browser ... by prepend on Saturday March 20, 2021 @09:08AM (#26522951)
The point is that few want this and Chrome make a default behavior that inconveniences lots of users.

Chrome should default not to prompt. Safari estimates that no one wants this, and I suspect they’re right.

Re:Safari is now probably the influential wild card browser ... by onion2k on Saturday March 20, 2021 @12:09PM (#26524067)
Chrome should default not to prompt.

It absolutely should. Making the default "never prompt" would lead to websites prompting users to modify their preferences and change security settings. We do not want to normalize that behaviour. It would be a security nightmare. The defaults might be a little annoying for users (who can switch it to never prompt if they want to) but keeping average users who do want email or chat notifications safe online should take priority.

Re:Safari is now probably the influential wild card browser ... by prepend on Sunday March 21, 2021 @07:15AM (#26529609)
I don’t think average users want email or chat notifications.

And I don’t think web sites would prompt this as they don’t on Safari and that works out ok.

I think Chrome defaults stuff that Google thinks makes advertisers more money and Google more money. Safari defaults stuff that Apple thinks users want.

Re:Safari is now probably the influential wild card browser ... by visarga on Saturday March 20, 2021 @03:41AM (#26521476)
Yeah, it's an old "feature" that makes me immediately close the site and never come back. The culprit is usually a random newspaper.
Re:Safari is now probably the influential wild card browser ... by heavyset_go on Saturday March 20, 2021 @02:06AM (#26521135)
> I don’t want websites to be able to send notifications to my phone.

You might not, but our users requested desktop and mobile notifications. The notifications let sick patients know when their prescriptions are ready, facilitate care-provider check ups, etc.

Re:Safari is now probably the influential wild card browser ... by watermelon0 on Saturday March 20, 2021 @02:47AM (#26521298)
PWA cab be 'installed' to the device, similarly to 'Add to home screen' option.

It would be reasonable to allow notifications only to installed PWA, and not just any website you visit.

Re:Safari is now probably the influential wild card browser ... by mrtksn on Saturday March 20, 2021 @04:59AM (#26521734)
It seems like the that’s the obvious solution at first but if you think about it, this will make every site ever to greet you with “add to home screen” popup. Just like aggressively trying to make you install their app from the appstore. The number will increase since there won’t be a barrier of entry.

Then there would be people who are trying to make you "install" their PWA at any cost, then sell their install base and the buyers will simply rename the app/website to anything they want.

It can actually be another golden age for the web while making users hate their phones.

Re:Safari is now probably the influential wild card browser ... by danShumway on Saturday March 20, 2021 @01:10PM (#26524468)
Right now, if you go to any website on mobile, you get a big popup telling you to install a native app.

What would be different?

Getting asked to enable a browser feature is not more annoying than getting asked to exit the app and install a brand new native app with worse sandboxing and privacy. It's at most the same level of annoying.

Re:Safari is now probably the influential wild card browser ... by mrtksn on Saturday March 20, 2021 @02:35PM (#26525033)
There's some barrier of entry(buy an account and create documents describing your app) to have a mobile app, with PWA it will be removed and you will have every single website trying to make you "install" their web app, just like every single website is trying to take your e-mail address or make you create an account.

The app experience is almost always better because you always have more screen real estate, higher performance, better persistence and the developer has more opportunities to monetise you which eases the need to shove all the adds technologically possible into your face before you leave and never come back.

Visiting a new website in 2021 has the following installation process:

0) click a link

1) download the website. Websites are bloated these days, things jump around until you download and execute a few MB of JS, CSS, HTML and so on.

2) accept/deny tracking(usually designed to trick you into accepting)

3) accept/deny subscribing to newsletters(usually the skip button is obscured)

4) try to figure out what is this all about, trying to distinguish site element from ads

5) if you still want to continue you probably will need to create an account for anything that's beyond an article. Many times, you will need to create an account even for an article

6) after all that jazz you can actually try out the app/website or consume the article

7) if you like what you see, you need to bookmark/add to home screen

An app experiance is something like this:

0) click a link

1) see screenshots and explanation of what this app is all about, accompanied with reviews and ratings

3) if you like what you se, tap install, make a fingerprint scan or a face scan to download and open the app

4) try out the app. if you like it, it will be on your homescreen to use again. if you don't like it, you can delete it from the same place.

For both cases, any use hardware or system API you will get about the same popup asking you to give access to location/microphone/camera/bluetooth. For the mobile app the experience of managing it will be easier since it will have standardised settings in the device settings and you know the permissions are revoked when you delete the app.

For web apps you don't have an uninstall process. You need to dive into browser settings to remove history, cookies etc.

Re:Safari is now probably the influential wild card browser ... by danShumway on Saturday March 20, 2021 @02:55PM (#26525195)
What barrier of entry? We've already had notifications on the web for 6 years, and the experience isn't what you describe. It's far more common for me to run into a website asking me to install a native app than it is for me to see websites asking to display notifications. Nobody wants to be forced to install a native app to order a pizza or check their bank balance. It's better if we can do those things on a website without installing an entire application.

> The app experience is almost always better

Strong disagree. Even on iOS native apps are more invasive and have fewer privacy controls than a website does. That's why all of these websites want you to install apps. Facebook isn't asking you to install their app because it'll be a better experience for you, they're asking you to install their app because then they can request contact permissions.

> 0) [...] 1) [...] 2) [...] etc...

This is just nonsense. You're arguing that configuring a browser to default-deny permission prompts is a worse experience than getting badgered to install a completely separate application every single time you visit Reddit.

And to your point on advertising, this is a good reason to have an app environment that supports competent adblocking. Neither Safari nor iOS provides APIs to do that for websites or for native apps.

This all kind of boils down to, you have an environment with less sandboxing, less privacy, less granular permissions, and a longer install process (visit a site, switch apps, download and install a new app, switch apps again, then uninstall and clean up when you're done); but it's OK because the process of building an app is so cumbersome that a lot of businesses won't bother? This may not be the persuasive argument you think it is.

I mean, you can tell me all you want that notification prompts are worse than the current system of websites constantly asking to exit the website and install a new thing that gives them native file access to my phone, but... I browse the mobile web. I know what the mobile web is like from day-to-day experience, notification prompts are not the reason that the mobile Reddit website is annoying to use.

Re:Safari is now probably the influential wild card browser ... by hakfoo on Sunday March 21, 2021 @05:30PM (#26534274)
It's interesting that the sites that you'd expect to use notifications tend to not be the ones actually offering them. Webmail? Reddit? HN? Obvious notification cases. Legitimate ecommerce? I could see prompting for "let us send order update notifications after purchase." Don't see it there though.

Instead, I see a lot of "enable notifications to prove you're not a robot" scam fake-CAPTCHAs and a lot of newspaper/TV/media sites asking for it. Just because I want to read one article doesn't mean I'm naturally after an update every time you post anything else.

Re:Safari is now probably the influential wild card browser ... by tehbeard on Saturday March 20, 2021 @03:33AM (#26521448)
This is what I've wanted safari/iOS to do.

They'd get to claim privacy/user safety (no drive by permissions grab)

But, this eats into their walled garden money pit, so yeah it's not going to happen..

Re:Safari is now probably the influential wild card browser ... by Google234 on Saturday March 20, 2021 @02:34AM (#26521244)
Have those users download some simple app if this is so important to them. Or let them enter their phone number to get more reliable text notifications. Just because you have a good use doesn’t outweigh the all the bad abuse.
Re:Safari is now probably the influential wild card browser ... by cforrester on Saturday March 20, 2021 @02:53AM (#26521317)
> Just because you have a good use doesn’t outweigh the all the bad abuse.

Personally, this is how I feel about downloading apps to my phone for every individual service and product. I see no need to download a separate app for each individual service I'm interested in, as the potential for abuse is higher than getting the occasional notification from my browser app and visiting their website.

However, it sounds to me like the focus should be on minimizing the potential for any avenue of information delivery to be abused, not to remove or decline to add features for fear that they will be. From the user side, I'm not interested in being told by a developer, "download my app if it's so important to you." I'd probably never discover how useful a service can be if I would have to download another app to try it. From the developer side, I'm not interested in telling potential users, "you actually don't want that feature."

Re:Safari is now probably the influential wild card browser ... by Google234 on Saturday March 20, 2021 @03:03AM (#26521358)
99% of apps you download aren’t spam unlike the 99% of web notification requests that are spanmy
Re:Safari is now probably the influential wild card browser ... by cforrester on Saturday March 20, 2021 @03:19AM (#26521402)
I don't find that very convincing at all. 99% of apps I've ever used add no value beyond what a web interface could do, and most of those send me spammy notifications trying to draw me back into the app. App notification spam is a much greater problem for me and everyone I know than web notification spam, and apps pose a greater privacy and security threat.
Re:Safari is now probably the influential wild card browser ... by pmontra on Saturday March 20, 2021 @03:41AM (#26521475)
I agree, because I've become picky about what I install. I tend to use only open source apps, especially from F-Droid.

However I routinely deny notification requests in Firefox so this is not a problem. I also routinely deny the permission to use canvas image data. Firefox warns it can be used to fingerprint browsers https://support.mozilla.org/en-US/kb/firefox-protection-agai...

Sadly Apple does its best to make more money. If they allow other browser engines they'd end up selling less apps. IMHO they'll care about privacy only until it positively correlates with making money. If it will ever cost them more than it gains, they'll find a way to weaken privacy without losing face.

An example, Apple ruthlessly enforcing in app payments for small companies but bowing to Netflix, Amazon and the like. They know they would sell less phones if those apps won't run on iOS.

And that's expected. Why would a company care about you and me in this age? No more than what you and me would care about ants.

Re:Safari is now probably the influential wild card browser ... by kyriakos on Saturday March 20, 2021 @05:12AM (#26521768)
Then 99% of the websites you visit are spammers, that's a different problem.

Removing this feature from all users though is not a good solution either. Chrome allows you to block notifications from all sites so you don't have to dismiss requests anymore which seems like it would suit your needs and at the same time allow others to use this feature.

Re:Safari is now probably the influential wild card browser ... by zambal on Saturday March 20, 2021 @04:04AM (#26521554)
In my experience the usage of notifications in native apps is hardly less spammy than web notifications.
Re:Safari is now probably the influential wild card browser ... by kyriakos on Saturday March 20, 2021 @05:14AM (#26521771)
Instagram, Facebook, Twitter are the biggest offenders here. Its worse cause for these apps if you allow them the send notifications permissions you are automatically opting-in for everything and you need to use their UI to granularly remove the ones you don't want.
Re:Safari is now probably the influential wild card browser ... by endless1234 on Saturday March 20, 2021 @03:24AM (#26521417)
>Have those users download some simple app

The whole discussion is about it being unnecessary resource use to develop said "simple app" due to Apple's restrictions on mobile Safari..

Re:Safari is now probably the influential wild card browser ... by fragile_frogs on Saturday March 20, 2021 @06:48AM (#26522128)
And not everyone has the resources to build a "simple app" just for iOS.
Re:Safari is now probably the influential wild card browser ... by heavyset_go on Saturday March 20, 2021 @02:12PM (#26524866)
This is, unfortunately, the route we're going, and was addressed in the OP:

> Despite the web app working perfectly on Android and across Windows, Linux and macOS without native integration, we now must dedicate time and resources to develop an additional iOS app just so iOS users, which over half of Americans are, aren't left out.

> This is an expensive endeavor time-wise and money-wise, during a pandemic where time is of the essence and resources are stretched thin. It shouldn't be this way, but it is.

The end result is that, right now, some sick patients are punished for their wrong choice of phone or tablet because the native app doesn't exist yet, while others don't have a problem.

Re:Safari is now probably the influential wild card browser ... by kyriakos on Saturday March 20, 2021 @05:09AM (#26521765)
How is this abused when you have to opt in to get the notifications? If you opt out once the site cannot request it again.
Re:Safari is now probably the influential wild card browser ... by rsj_hn on Saturday March 20, 2021 @04:13AM (#26521591)
Can you send them an SMS? One would think that notifying someone with a phone is a solved problem that doesn't require deep phone-browser integration.
Re:Safari is now probably the influential wild card browser ... by kyriakos on Saturday March 20, 2021 @05:08AM (#26521762)
You can always disable all notifications from browser for your use case.

Personally on Android I have enabled notifications from a total of 2 sites and I find the experience quite good. I actually think its better than having to install an app for something that you rarely use just for that one time you will need to receive a notification from it.

Re:Safari is now probably the influential wild card browser ... by yunohn on Saturday March 20, 2021 @02:36AM (#26521250)
>> I don’t want

Who are you? And why does only your absolute opinion matter, when others are asking for a choice?

Re:Safari is now probably the influential wild card browser ... by Google234 on Saturday March 20, 2021 @02:44AM (#26521276)
I’m the same as the the users of Firefox who deny 99% of notifications https://blog.mozilla.org/futurereleases/2019/11/04/restricti...

We are the the 99%

Re:Safari is now probably the influential wild card browser ... by onion2k on Saturday March 20, 2021 @02:59AM (#26521342)
99% of notification requests being blocked is not the same as 99% of users blocking notifications. If every user visits 100 sites and accepts notifications from one of them, then 100% of users actually want notifications despite 99% of requests being denied.

I'm not defending stupid notification popups from some website you'll only ever visit once. Those are annoying. I'm saying you can't tell what users want unless you specifically measure exactly that. Maybe you're right and 99% of users don't want notifications, but that's not what your cited numbers show. You're drawing a conclusion from the data that isn't there.

Re:Safari is now probably the influential wild card browser ... by Google234 on Saturday March 20, 2021 @03:16AM (#26521397)
I would imagine that 99% of people wouldn’t be happy with a service that is 99% spam.
Re:Safari is now probably the influential wild card browser ... by onion2k on Saturday March 20, 2021 @03:26AM (#26521421)
Again though you're making assumptions that the data can't back up. If a site asks to send me notifications and I say no that doesn't make the notifications spam. That just means I don't want to see them for some reason.

And besides, for something to be spam you need to actually see it. In the case of notifications if you deny the permission on a site you don't see the notifications. That's the perfect spam filter. Imagine a world where people could only send you email if you explicitly said you accepted it from them. Or if robocallers could only call you if you agreed first. Spam would be over. There would be no spam. That sounds fantastic.

Re:Safari is now probably the influential wild card browser ... by rpdillon on Saturday March 20, 2021 @01:29PM (#26524598)
Email _is_ 99% spam. That doesn't mean that email isn't useful, though.
Re:Safari is now probably the influential wild card browser ... by Google234 on Sunday March 21, 2021 @10:08AM (#26530562)
Somehow, by the time it reaches any of my multiple inboxes it’s not 99% spam
Re:Safari is now probably the influential wild card browser ... by rpdillon on Sunday March 21, 2021 @08:19PM (#26535401)
TL;DR: I'd like to see web notifications improved rather than abandoned because I think they are part of a suite of features that could provide important competition for native apps on mobile devices.

> Somehow, by the time it reaches any of my multiple inboxes it’s not 99% spam

Right. Email providers didn't fix spam by throwing away the ability to send unsolicited messages, they fixed it by looking at the behavior of bad actors and blocking it, and evolving the UX of email services to adapt ("Report Spam" buttons and the like). My comment above was intended to suggest that rather than demanding the industry throw out the feature that would allow a website to send notifications at all, they can instead invest in making the experience more streamlined for the user (fewer notifications, less intrusive request flow). They could even use some of the same techniques used in fighting spam, like allowing users to report sites that are abusive in how they ask for permission.

The subtext here is that I think progressive web apps have the potential to foster a more open online culture than can be achieved through app stores alone, and they also give the user more control over the experience, since they leverage the browser, which is a "user agent" in a way that that apps rarely (if ever) achieve. Adopting a stance that solidifies the current inadequacies of web apps pushes more users and developers to "app store apps", which tilt the balance of power towards app store owners and away from users and developers. I think that trend has already caused problems (Spotify, Fortnite, Librem Tunnel[0], etc.), and I don't see any reason the problems will lessen in the future.

[0]: https://puri.sm/posts/why-librem-tunnel-is-leaving-ios/

Re:Safari is now probably the influential wild card browser ... by GekkePrutser on Saturday March 20, 2021 @01:10PM (#26524470)
For me on Android Firefox website push notifications don't even work. I thought this was by design. Am I doing something wrong? There's a couple of sites where I really do want this.
Re:Safari is now probably the influential wild card browser ... by userbinator on Friday March 19, 2021 @10:22PM (#26520237)
The more I see posts like this that complain about other browsers lacking features and essentially encouraging the "Google-isation" of browsers, the more convinced I am of the power of Google's gigantic monopoly-enhancing propaganda-machine.

Firefox unfortunately has no choice but to be dragged along by Google.

Re:Safari is now probably the influential wild card browser ... by heavyset_go on Friday March 19, 2021 @10:25PM (#26520251)
I'm a mobile and desktop Firefox user, and Firefox has supported the features that are missing from iOS Safari like the Web Notifications API since 2013, and the Web Push API since January 2016.
Re:Safari is now probably the influential wild card browser ... by Spartan-S63 on Friday March 19, 2021 @11:54PM (#26520697)
Why should a web browser be able to send notifications? Why are we overloading web browsers to do more and more things? I get that transferring data over the internet is king, but surely we can devise better user interfaces than bloated browsers, etc?
Re:Safari is now probably the influential wild card browser ... by endless1234 on Saturday March 20, 2021 @03:31AM (#26521437)
>Why should a web browser be able to send notifications?

Why not? Web browsers are not just for reading text based articles. Most use a calendar, email, perhaps some kind of chat app through their browser. Aren't these and other similar use cases good reasons for notifications to exist?

Re:Safari is now probably the influential wild card browser ... by paulmd on Saturday March 20, 2021 @01:53AM (#26521067)
Web browsers are essentially an inner platform now. Instead of taking the time to develop native apps, or even to write using cross-platform frameworks, developers prefer to trade performance/security/privacy for developer time. It's really just an acceleration of a trend that has been going on for decades (Wirth's Law) but Web 2.0 is hip and cool. You're not writing some lumbering dog of a Java application (write once run anywhere!), you're agile and using React and web sockets, you're one of the cool kids (writing a lumbering dog of a Javascript application).

https://en.wikipedia.org/wiki/Inner-platform_effect

All in all, building out applications using cross-platform frameworks seems to be a far better solution for end users, and not significantly worse in terms of developer velocity, but I think there are other reasons they are not adopted, primarily that the web makes it far easier to invade privacy and deploy dark patterns, while that behavior typically is checked by the app store approval process for "native" or cross-platform applications.

Re:Safari is now probably the influential wild card browser ... by natchy on Saturday March 20, 2021 @11:16AM (#26523722)
> the web makes it far easier to invade privacy and deploy dark patterns, while that behavior typically is checked by the app store

Disagree. One reason sites want me to use their app is because I can’t block trackers. I wont use native apps if there is a web alternative BECAUSE i value privacy.

Re:Safari is now probably the influential wild card browser ... by Volt on Saturday March 20, 2021 @10:36PM (#26527696)
What trackers? Apps are sandboxed, so they shouldn't be able to track you.
Re:Safari is now probably the influential wild card browser ... by phantomathkg on Saturday March 20, 2021 @01:41AM (#26521025)
Why not? Why must an app be written natively?
Re:Safari is now probably the influential wild card browser ... by EvilEy3 on Saturday March 20, 2021 @02:13AM (#26521164)
Because it offers superior experience.
Re:Safari is now probably the influential wild card browser ... by onion2k on Saturday March 20, 2021 @02:44AM (#26521277)
Apps don't (or shouldn't) need to be native to offer a good user experience.
Re:Safari is now probably the influential wild card browser ... by EvilEy3 on Saturday March 20, 2021 @08:04AM (#26522591)
Yes they need and should be native, if you don't want to reinvent OS integration yourself.
Re:Safari is now probably the influential wild card browser ... by saagarjha on Saturday March 20, 2021 @03:54AM (#26521515)
But often writing them natively does do this.
Re:Safari is now probably the influential wild card browser ... by nexuist on Friday March 19, 2021 @10:52PM (#26520416)
iOS dev since 2014 here. So many of my app ideas would have been completed 2-5x quicker if mobile Safari supported push notifications. It is unreasonable gatekeeping.
Re:Safari is now probably the influential wild card browser ... by diebeforei485 on Friday March 19, 2021 @11:27PM (#26520578)
It is very reasonable gatekeeping. People would be inundated with notifications on their phones.
Re:Safari is now probably the influential wild card browser ... by saurik on Saturday March 20, 2021 @01:14AM (#26520943)
No: you would--at worst--be asked more often than you would like to approve notifications for random websites, all of which you would click no on; this feature doesn't just magically cause notifications... hell: it already even exists on desktop Safari and I just click "no".
Re:Safari is now probably the influential wild card browser ... by ArchOversight on Saturday March 20, 2021 @01:30AM (#26520993)
Yeah, having to click no all the time on desktop Safari is terrible.

Also websites have realized that I am going to click No in the browser, so now they popup first asking if I want to allow push notifications in JavaScript so when I click no, they can ask me again later, vs if they popped up the browser and got a "No" there they could never ask me again.

Re:Safari is now probably the influential wild card browser ... by ryandrake on Saturday March 20, 2021 @02:51AM (#26521314)
I wish developers could get it through their skulls. I don’t want your notifications. Your app is not important enough that I’m willing to be interrupted by you. The lack of notifications is a desired feature. Please stop using notifications. It is almost always a pathetic attempt to try to “drive engagement” to your app. If I want to run your app I will run it. You don’t have to nudge me into it. The world would be a better place if all platforms got rid of them. Please stop adding to the problem.
Re:Safari is now probably the influential wild card browser ... by luckylion on Saturday March 20, 2021 @04:06AM (#26521565)
"I don't want notifications" is just a setting in a modern browser. And voila, it's as if notifications did not exist as a feature. I don't understand why you need the feature to not exist; do you feel tempted to leave them enabled if they can be enabled?

I don't like notifications. I never get any notifications requests, unless I'm in a private window trying because some site wouldn't work with adblockers etc. Life can be so simple.

Re:Safari is now probably the influential wild card browser ... by nexuist on Saturday March 20, 2021 @04:16AM (#26521600)
> I don’t want your notifications. Your app is not important enough that I’m willing to be interrupted by you. The lack of notifications is a desired feature. Please stop using notifications.

I don't want your phone calls. Your conversation is not important enough that I'm willing to be interrupted by you. The lack of phone calls is a desired feature. Please stop using phone calls. If I want to talk to you I will write you a letter. You don't have to nudge me into it.

Re:Safari is now probably the influential wild card browser ... by wruza on Saturday March 20, 2021 @05:26AM (#26521821)
As someone who gets marketing calls every fine day, I agree with your every word. And with gp too.

The problem with not implementing notifications is that when they are useful (instant dispatch software), they are not implemented. But honestly I’d just spin up a telegram or email bot, if clients were not brainwashed with tekhnology. Messages and email are notifications. It is also a matter of minutes, opposed to creating a stupid service worker client-server-like runtime and trying to get things right without any test mode (long story short, implementing and debugging webpush requires publishing every change to a certified https host). There is even an entire company that sells you a properly configured webpush as a service. That’s just stupid.

Re:Safari is now probably the influential wild card browser ... by nexuist on Saturday March 20, 2021 @06:08PM (#26526407)
Odd argument. SMS is a hellscape to DIY (especially financially), email even more so with DKIM. If by SMS/email you mean "Twilio" or "Mailchimp," well, that's no different than using a third party push service.
Re:Safari is now probably the influential wild card browser ... by hakfoo on Sunday March 21, 2021 @05:42PM (#26534365)
The mistake was the presentation UI for notifications. Instead of making it an active question for users to dismiss, it should been presented as a subtle toggle somewhere in the UI chrome-- sort of like the star icon to add to favourites.

This would have made it possible to offer notifications without being in-your-face about it, which would have made them more amenable for sites that were concerned about brand image and user feedback. The paradigm might not have become unavoidably tainted, and we'd just name-and-shame the bad actors.

It also makes it clear that the notification consent shouldn't be a one-way street-- you should be able to discontinue notifications through the same UI and in an obvious manner, rather than treating it as a consent you can easily offer, but not easily retract.

Re:Safari is now probably the influential wild card browser ... by mortenjorck on Saturday March 20, 2021 @02:12AM (#26521161)
I agree about clicking no all the time. This isn't an intractable problem, though; people just assume the ask-on-visit interaction pattern is the only way to implement this kind of functionality.

If I were on the Mobile Safari team, I'd propose bundling notifications into the bookmark workflow. If a user chooses to bookmark a site, prompt them at that moment (as an option in the modal) to subscribe to notifications if the site offers it. Because the user is expressing an interest in returning to the site, it's now appropriate to ask them to enable notifications, versus their first visit.

(For sites accessed through a synced iCloud bookmark, however, I would show a notifications prompt for the first visit on that device.)

Re:Safari is now probably the influential wild card browser ... by diebeforei485 on Monday March 22, 2021 @01:07PM (#26543561)
Perhaps desktop Safari should work the way you described. Whenever I get a new Mac, one of the first things I do is stop allowing any website to ask to notify me.
Re:Safari is now probably the influential wild card browser ... by nwienert on Saturday March 20, 2021 @01:56AM (#26521083)
Did I accidentally disable this or something? I’ve never seen it.

Everyone acts like

1. For some reason it has to be some sort of pop up, it could easily be a small icon in your bar

2. Apple couldn’t/wouldn’t design this so that it was unobtrusive

3. If the way they did design it was still too annoying, they wouldn’t make it less so, or make it easy to turn off

Why do so many on HN argue from “if it existed it would obviously be in form X that already exists and therefore be bad and therefore I never want it and will oppose it vehemently” it’s a total lack of capability of even the most incremental innovative thinking.

Re:Safari is now probably the influential wild card browser ... by yunohn on Saturday March 20, 2021 @02:39AM (#26521258)
>> it’s a total lack of capability of even the most incremental innovative thinking

Honestly, HN is a cargo cult of native only, anti web app sentiment. It’s frustrating.

Re:Safari is now probably the influential wild card browser ... by sbuk on Saturday March 20, 2021 @03:32AM (#26521443)
Or...

Your opinion isn’t held by other people, some of whom disagree with your opinion and are expressing that.

Re:Safari is now probably the influential wild card browser ... by luckylion on Saturday March 20, 2021 @04:11AM (#26521587)
> Your opinion isn’t held by other people, some of whom disagree with your opinion and are expressing that.

The other opinion seems "notifications cannot be disabled, therefore notifications are bad".

If you don't want to see notification requests, you never will. Granted: you need to be able to change settings, in a very restricted environment or with a custom clone of some browser you might not be able to.

For most users, that's not a problem. I'm one of them. I don't see notification requests on my desktop or phone. Neither do I see requests for geo-location, even though the browser is fundamentally capable of providing my geo-location to websites through an API; I've disabled it.

Re:Safari is now probably the influential wild card browser ... by sbuk on Saturday March 20, 2021 @04:55AM (#26521720)
I didn’t express an opinion either way. But it’s clear to me that there are some amongst us that believe that a difference of opinion must mean everyone who disagrees must therefore be in a cargo cult. That is what I am taking issue with. It’s also against the guidelines here.
Re:Safari is now probably the influential wild card browser ... by luckylion on Saturday March 20, 2021 @05:35AM (#26521857)
I'm still struggling to find out the non-cult reason for "the feature must be banned from the browser, just being able to disable it for all time with a single click is not enough".
Re:Safari is now probably the influential wild card browser ... by sbuk on Saturday March 20, 2021 @08:35AM (#26522756)
It'll be the same reason as the "cult" of "what I want should be the norm and anyone who disagrees, for whatever reason, must be in a cult"
Re:Safari is now probably the influential wild card browser ... by yunohn on Saturday March 20, 2021 @10:07AM (#26523337)
I think the misunderstanding is that the HN sentiment is very tangential to how real average users experience websites. Here everyone uses Adblock and NoScript, whereas most users have neither installed. So HN is more like a cult, whereas the real world is much larger and not like a cult?
Re:Safari is now probably the influential wild card browser ... by nwienert on Saturday March 20, 2021 @04:06AM (#26521566)
HN has many cargo cults not reflected by broader tech. It certainly has a crowd.
Re:Safari is now probably the influential wild card browser ... by ArchOversight on Saturday March 20, 2021 @02:05AM (#26521130)
> 1. For some reason it has to be some sort of pop up, it could easily be a small icon in your bar

It is a popup right now... it is in your face and requires immediate action.

An example:

https://imgur.com/a/GfqUuAZ

Using:

https://www.bennish.net/web-notifications.html

> 2. Apple couldn’t/wouldn’t design this so that it was unobtrusive

It is obtrusive in that it is a full-window popover and you can't go to any other tabs until you have completed the action.

> 3. If the way they did design it was still too annoying, they wouldn’t make it less so, or make it easy to turn off

You can currently disable it browser wide in Preferences -> Websites => "Allow websites to ask permission to send notifications".

However, that doesn't stop various websites from displaying their own JavaScript based popups and requests before even attempting to use the Web Push Notifications API to see if the user wants to grant access using the native API's.

This way they can nag the user over and over to enable notifications whereas if you deny it once in the browser you need to take a bunch of manual steps to remove the website and grant them access.

Re:Safari is now probably the influential wild card browser ... by heavyset_go on Saturday March 20, 2021 @02:02PM (#26524792)
Safari does not use the Web Push or Notification API, Apple has a bespoke Safari Push Notifications[1] API on macOS, so this poor implementation is completely on Apple.

On Firefox, it just puts a little message window icon in your address bar if you didn't trigger the Notifications API permission via a control on the website. When you do trigger the permissions through user interaction, and unobstructive widget shows up[2] that can be promptly hidden without ever actually interacting with it, unlike in your Safari example.

[1] https://developer.apple.com/notifications/safari-push-notifi...

[2] https://support.mozilla.org/en-US/kb/push-notifications-fire...

Re:Safari is now probably the influential wild card browser ... by kaoD on Saturday March 20, 2021 @06:12AM (#26521972)
Wow, now I understand the sentiment... but that's a reason to stop using Safari, not against notifications.
Re:Safari is now probably the influential wild card browser ... by katbyte on Saturday March 20, 2021 @10:16AM (#26523392)
I’ve been slowly using safari more and more and this made me realize why I enjoy surfing the web in it more: no constant stream of sites asking for location/notifications/whatever
Re:Safari is now probably the influential wild card browser ... by imwillofficial on Saturday March 20, 2021 @01:17AM (#26520953)
And I don’t wanna click no all the time. Nobody does.
Re:Safari is now probably the influential wild card browser ... by pjmlp on Saturday March 20, 2021 @05:14AM (#26521772)
ChromeOS has won, Safari is the only one left standing on the way that actually matters.

Firefox as much as I love it, and has been my main browser linage since the Netscape days, doesn't stand a chance.

Specially when everyone is now packaging Chrome as Electron, while praising it for GNU/Linux desktop apps.

Re:Safari is now probably the influential wild card browser ... by gumby on Saturday March 20, 2021 @11:18AM (#26523737)
I’ve never heard praise for electron, though that could be the crowd I associate with. Electron apps are the worst of both worlds; it’s so bad that I’m willing to open a web browser if electron is the other option.
Re:Safari is now probably the influential wild card browser ... by pjmlp on Saturday March 20, 2021 @01:19PM (#26524528)
Just check the comments here, where many of us happen to bash it, while others praise it for bringing apps to GNU/Linux.

99% of Electron stuff could be done as pure Web application, and if native support is required, running as daemon.

Re:Safari is now probably the influential wild card browser ... by GekkePrutser on Saturday March 20, 2021 @01:14PM (#26524495)
I don't think it's a contest really. I'm happy using Firefox knowing it's got a small marketshare. The same way I vote for a small political party knowing they'll never win any election.

With Firefox I don't see any issues related to the marketshare. All add-ons I want are available and all websites work just fine except one or two that just block it outright just out of spite (Apple Business Manager - business.apple.com being one)

Re:Safari is now probably the influential wild card browser ... by pjmlp on Saturday March 20, 2021 @01:21PM (#26524537)
Sure, but what do you think it will happen the day Google no longer supports its development?

As far as I know Mozilla doesn't have that many sources to keep it running, and the latest round of layouffs was kind of a signal of what is yet to come.

Re:Safari is now probably the influential wild card browser ... by tristan957 on Saturday March 20, 2021 @02:12PM (#26524863)
Your speculation doesn't hold water. They have been increasing their hiring recently, and their layoffs were largely in areas where community members could power development and in experimental areas. MDN still exists and has good info. Note anyone can contribute straight on GitHub. Servo got picked up by the Linux Foundation after much of Servo already got integrated into Firefox. The Rust Foundation recently started and multiple big names have picked up large Rust contributors. So Mozilla made a smart move laying off those people. People on HN don't want to admit it.
Re:Safari is now probably the influential wild card browser ... by pjmlp on Saturday March 20, 2021 @02:21PM (#26524926)
We are talking about browsers with serious market share here, Rust and Servo are irrelevant to the future of the Web.

Let Google close the money stream and lets see what happens.

I hope to be wrong.

Re:Safari is now probably the influential wild card browser ... by GekkePrutser on Saturday March 20, 2021 @02:44PM (#26525093)
Well then we'll see what happens... For now it's great. Nothing is forever, even Internet explorer came to an end after its (totally undeserved) monopoly.

I would pay a lot though to keep it going. Like 100 a year or so (for me that's a lot :) )

Re:Safari is now probably the influential wild card browser ... by tobr on Saturday March 20, 2021 @05:21AM (#26521802)
If your progressive web app stops working because the browser is missing a feature, by definition you have not built a progressive app. It’s supposed to work everywhere, with progressive enhancements if platform features are available.
Re:Safari is now probably the influential wild card browser ... by enumjorge on Saturday March 20, 2021 @06:34AM (#26522061)
The parent comment didn’t say their PWA stops working on Safari, only that it doesn’t have a full set of features on it. For some applications, features like push notifications are essential.
Re:Safari is now probably the influential wild card browser ... by tobr on Saturday March 20, 2021 @07:12AM (#26522261)
They said Safari is

> the reason why we can't have nice things like progressive web apps

I.e. implying that progressive web apps are only possible if a specific set of features are supported everywhere. It’s like saying that accessibility is only possible if no users have disabilities.

Re:Safari is now probably the influential wild card browser ... by africanboy on Saturday March 20, 2021 @07:22PM (#26526816)
I think OP is implying that if Safari is the only one lacking a feature that is part of the W3C standard[1], Safari is at fault.

[1] https://www.w3.org/TR/push-api/

Re:Safari is now probably the influential wild card browser ... by tobr on Monday March 22, 2021 @07:31AM (#26539399)
I feel like I’m repeating myself, but the whole concept of “progressive” web apps is to be resilient to these variations in which features are implemented.
Re:Safari is now probably the influential wild card browser ... by africanboy on Monday March 22, 2021 @01:21PM (#26543751)
> but the whole concept of “progressive” web apps is to be resilient to these variations

Your confusion comes from your personal definition of "Progressive Web App"

For sure the confusion starts from their name, but in short «A progressive web application (PWA) is a type of application software delivered through the web, built using common web technologies including HTML, CSS and JavaScript. It is intended to work on any platform that uses a standards-compliant browser, including both desktop and mobile devices.»

Emphasis on any platform that uses a standards-compliant browser, in this case Safari is not standard compliant.

A Progressive Web App (or PWA in short) is not the same thing of "progressive enhancement" or "graceful degradation" for regular Web Application.

Those are just some of the features, but it doesn't stops there.

Some of the fundamental charateritics of a PWA include being

- App-like — Feels like an app to the user with app-style interactions and navigation

- Re-engageable — Ability to use push notifications to maintain engagement with the user

As you can see being able to notify the user is a key feature of a PWA.

Which is not possible if some vendor refuses to implement the standard features that narrow the gap between Web and Native, like Apple is deliberately doing with Safari.

It's not too hard to make them work without those features, that's not the point, the point is it's impossible to have the same feature set on every platform because one vendor in particular doesn't want you to, they want you to develop native applications which is vastly more costly and it feels like wasting effort and money on something that should have worked with almost the same capabilities on all the major platforms with little or no modifications. It's true everywhere, except on Apple mobile devices, where you can't even chose the web rendering engine.

Re:Safari is now probably the influential wild card browser ... by tobr on Tuesday March 23, 2021 @02:53AM (#26551857)
Not sure what you’re quoting in italics there. But it’s certainly not my “personal definition of the term”, it’s the origin of the term [1]. The idea was to take progressive enhancement so far that a regular website can progressively become something app-like. Over time, people seem to have forgotten why we call them progressive, and think it just means they’re entitled to use every idea that someone in W3C’s Department of Feature Creep put their stamp of approval on.

1: https://infrequently.org/2015/06/progressive-apps-escaping-t...

Re:Safari is now probably the influential wild card browser ... by domano on Saturday March 20, 2021 @07:13AM (#26522263)
I think this is more about the missing possibility to list it in the store
Re:Safari is now probably the influential wild card browser ... by GekkePrutser on Saturday March 20, 2021 @01:16PM (#26524506)
And collect a revenue percentage (not just from the app itself but any in-app purchases). Apple has been really strict on this and PWAs would avoid this entirely if they were possible.
Re:Safari is now probably the influential wild card browser ... by krzyk on Saturday March 20, 2021 @06:10AM (#26521959)
Progressive web apps is not a feature. It is one of the worst bugs a browser can have.

It is almost Electron level bad.

Re:Safari is now probably the influential wild card browser ... by chrisseaton on Friday March 19, 2021 @10:10PM (#26520175)
What is Safari on iOS missing specifically?
Re:Safari is now probably the influential wild card browser ... by heavyset_go on Friday March 19, 2021 @10:16PM (#26520210)
For this specific use case, it's missing the Web Push API[1], which can be used to implement push notifications, and the Web Notification API[2], which can also be used for the same thing.

[1] https://developer.mozilla.org/en-US/docs/Web/API/Push_API

[2] https://developer.mozilla.org/en-US/docs/Web/API/Notificatio...

Re:Safari is now probably the influential wild card browser ... by 3np on Friday March 19, 2021 @10:48PM (#26520382)
Maybe your app is a rare exception, but apart from chat apps, any use of notifications I’ve seen are undesirable and abused to spam users. Even those that do have a legit use-case still abuse it by pushing non-desirable (from user perspective) messages.

I think apart from Gitter I’ve never wanted a notification, as a user.

Re:Safari is now probably the influential wild card browser ... by heavyset_go on Friday March 19, 2021 @11:03PM (#26520477)
This app helps sick patients navigate the healthcare system. Notifications were requested by users so that they don't need to continuously go back to the web app to see if there are any updates.
Re:Safari is now probably the influential wild card browser ... by asaddhamani on Friday March 19, 2021 @11:16PM (#26520547)
How about sending notifications over email?
Re:Safari is now probably the influential wild card browser ... by heavyset_go on Friday March 19, 2021 @11:57PM (#26520707)
See this post[1]. We already do text and email notifications. Not all phones and tablets get texts, and email notifications are unreliable. Many users wanted desktop and mobile notifications, hence why we implemented them on top of texts and emails.

[1] https://news.ycombinator.com/item?id=26520303

Re:Safari is now probably the influential wild card browser ... by bashinator on Saturday March 20, 2021 @05:17PM (#26526118)
I use apps like this to manage my health care. Email would be a significantly worse experience than notifications.
Re:Safari is now probably the influential wild card browser ... by yunohn on Saturday March 20, 2021 @02:41AM (#26521265)
This speaks to your inexperience in making applications for the average user - they barely use email.
Re:Safari is now probably the influential wild card browser ... by Jcowell on Saturday March 20, 2021 @03:21AM (#26521407)
> This speaks to your inexperience in making applications for the average user - they barely use email.

Do you find that most users do authentication via phone number instead of email?

Re:Safari is now probably the influential wild card browser ... by onion2k on Saturday March 20, 2021 @03:12AM (#26521387)
The speaks to your inexperience making applications - using anecdotes and assumptions about "the average user" to determine what to do is nowhere near as useful as asking your actual users. Real data is better than guesswork.
Re:Safari is now probably the influential wild card browser ... by yunohn on Saturday March 20, 2021 @03:18AM (#26521400)
I have built global apps, and found that users struggle to even accept email address confirmations. The reality is that email is dying.
Re:Safari is now probably the influential wild card browser ... by JumpCrisscross on Saturday March 20, 2021 @04:04AM (#26521557)
> users struggle to even accept email address confirmations

This experience is geographically or demographically unique.

Re:Safari is now probably the influential wild card browser ... by onion2k on Saturday March 20, 2021 @03:51AM (#26521498)
That's true for the users you've seen. My users all open emails with no problem.

Now do you see why "the average user" isn't useful to determine how to build something? Even if most people suck at using email, in my app it works well.

Re:Safari is now probably the influential wild card browser ... by yunohn on Saturday March 20, 2021 @04:08AM (#26521571)
So you would agree that some users can prefer notifications over email/sms, or is that line of reasoning only self-serving?
Re:Safari is now probably the influential wild card browser ... by onion2k on Saturday March 20, 2021 @04:23AM (#26521628)
I absolutely agree that different groups of users want different things. An "average user" isn't useful in determining that.
Re:Safari is now probably the influential wild card browser ... by yunohn on Saturday March 20, 2021 @06:30AM (#26522048)
Which is exactly why you can continue emailing your users, while others like me would like an option to use notifications and other PWA features.
Re:Safari is now probably the influential wild card browser ... by sdfhbdf on Saturday March 20, 2021 @08:06AM (#26522604)
> This speaks to your inexperience

Please be kind and not sneer as the guidelines suggest.

https://news.ycombinator.com/newsguidelines.html

You could easily reword you comment to.

> In my experience the average user barely uses email.

Unless you know parent commenter personally I don't think you're competent enough to judge their experience in an online discussion.

Re:Safari is now probably the influential wild card browser ... by GekkePrutser on Saturday March 20, 2021 @01:18PM (#26524520)
I agree. Most websites use push notifications for the wrong reasons. This has given them a bad reputation. But when properly used they are certainly powerful and useful.

I use them for some local forums to notify me of replies. Don't want to fill up my inbox for this.

Re:Safari is now probably the influential wild card browser ... by diebeforei485 on Friday March 19, 2021 @11:28PM (#26520588)
Great. Take their phone number and text them. Amazon charges what, $0.00645 per SMS?
Re:Safari is now probably the influential wild card browser ... by yunohn on Saturday March 20, 2021 @02:42AM (#26521272)
You want to send potentially sensitive health updates over SMS? Or just a link, that then opens the web-app anyways? Definitely sounds like bad UX.
Re:Safari is now probably the influential wild card browser ... by Google234 on Saturday March 20, 2021 @02:51AM (#26521313)
CVS has no problem sending text notifications. You can send informative alerts without any sensitive info.

Push notifications are subject to the same HIPPA rules as sms. You can’t included sensitive info.

Re:Safari is now probably the influential wild card browser ... by yunohn on Saturday March 20, 2021 @02:59AM (#26521346)
Push notifications go through apple/google servers. The advantage of PWA notifications is that they can be local - https://developer.mozilla.org/en-US/docs/Web/Progressive_web....
Re:Safari is now probably the influential wild card browser ... by Google234 on Saturday March 20, 2021 @03:10AM (#26521384)
You don’t get it, 100s of billion of these notifications have been shown already to users on desktop with a less than 1% accept rate. These are spam .
Re:Safari is now probably the influential wild card browser ... by endless1234 on Saturday March 20, 2021 @03:37AM (#26521461)
What a weird argument. We're not talking about suspicious blogospam sites asking for notification access here. By the same token, most email sent is spam. Should we stop using email?

Spammy notification requests should be mitigated with better browser guards for requesting them. The fact that there is spam does not somehow invalidate that there are legitimate use cases people want them for.

Re:Safari is now probably the influential wild card browser ... by katbyte on Saturday March 20, 2021 @10:22AM (#26523426)
If 99% of something is used by spam and not opened it makes a strong argument to remove said feature.
Re:Safari is now probably the influential wild card browser ... by diebeforei485 on Monday March 22, 2021 @01:03PM (#26543506)
Here in California, I got updates about my covid19 test results, and my covid19 appointment information, over SMS or a link over SMS.

This includes what vaccine I received, the lot number of its production, plus information from v-safe[1] and reminders to check in telling the government how I feel on days after the vaccine.

1. https://vsafe.cdc.gov/en/

Re:Safari is now probably the influential wild card browser ... by genericstorage3 on Saturday March 20, 2021 @01:23AM (#26520970)
What a terrible ux
Re:Safari is now probably the influential wild card browser ... by millstone on Saturday March 20, 2021 @02:06AM (#26521133)
Why? Text messages are great because they pop up on my Mac too.
Re:Safari is now probably the influential wild card browser ... by katbyte on Saturday March 20, 2021 @10:23AM (#26523431)
This - email and text notifications go everywhere for me. Web ones don’t follow what device I’m using
Re:Safari is now probably the influential wild card browser ... by bentcorner on Saturday March 20, 2021 @01:40AM (#26521023)
I don't like browser notifications, especially on mobile. Maybe it's me but there's no explicit place agreed upon between me and the browser where the browser says "if the site sends a notification, here is where it will be".

Mobile is already bad enough where if you swipe a notification away, well I hope you remembered the icon and the bit of context that was on that notification. Browser notifications just make this worse.

And then there's the whole "will I get a notification if the browser app is closed? What if I get a notification in the middle of the night, will I receive it in the morning? Will it continue to receive notifications if I restart my phone?" kind of questions. Maybe it all just works but I am very untrusting of the whole feature.

Re:Safari is now probably the influential wild card browser ... by wruza on Saturday March 20, 2021 @05:56AM (#26521920)
Technically, webpush-enabled site starts a service on your phone (read on js service workers) that then asks a browser to accept notifications from some origin and sends permission credentials to that origin. Then it decides for every incoming notification if it is worth popping up (e.g. if a site is a chat and it is already on the screen, there is no need to spam with popups), or if it’s worth a new tab on tap/click, etc. It is a hassle to configure, but then it usually just works. I suspect that your browser has to be running anyway, because a service worker is just a restricted browser env. Push providers may have delayed delivery, at least there is a ttl field in a notification at server-side. Didn’t test that much and only used that in one project, but remote alpha users already reported missing notifications. I have no clue how to debug that, because it simply doesn’t happen (phone config seems okay).
Re:Safari is now probably the influential wild card browser ... by jfoster on Saturday March 20, 2021 @01:26AM (#26520982)
There's nothing stopping Safari having a less annoying implementation of notifications. They have full control of the experience.
Re:Safari is now probably the influential wild card browser ... by kitsunesoba on Friday March 19, 2021 @11:01PM (#26520470)
Similarly, I’ve rarely needed web notifications and on the handful of occasions I have they’re of a nature that’s better tied to a desktop/laptop than a phone or tablet.
Re:Safari is now probably the influential wild card browser ... by mda on Saturday March 20, 2021 @08:07AM (#26522613)
lichess notifies when it is your turn, quite useful. There are many legitimate uses of this feature especially business environments.
Re:Safari is now probably the influential wild card browser ... by phreack on Friday March 19, 2021 @10:40PM (#26520337)
I'm willing to go as far as to say it's The one feature that's singlehandedly holding back PWAs entirely. Most apps that you use every day needs notifications for one reason another, mainly communication apps, and if you could do them with a web app it'd be a game changer. But Apple is holding us all back and has been for years.
Re:Safari is now probably the influential wild card browser ... by dwaite on Saturday March 20, 2021 @05:26AM (#26521818)
If it is a progressive web app, then it should abide by progressive enhancement https://en.wikipedia.org/wiki/Progressive_enhancement .

So no, lack of push notifications are not holding back PWAs. They are holding back web developers which choose to aggressively require new features, then get upset when they only work in the browser they tested with (invariably Chrome).

Re:Safari is now probably the influential wild card browser ... by smoe on Saturday March 20, 2021 @06:57AM (#26522174)
Pretty much none of the apps, native or web I use regularly, need notifications in order to do what I want them to do. It is usually the makers of said apps that really really want notifications as a strategy to increase engagement.

I’m not against web notifications per se, but I’m not buying that most web applications are held back because notifications are actually crucial to them functioning.

Re:Safari is now probably the influential wild card browser ... by millstone on Saturday March 20, 2021 @02:10AM (#26521150)
I don't understand why Apple is holding anyone back. Just build an app that doesn't work on iOS. There's lots of apps exclusive to iOS and Mac - why not exclusive Android?

If the app really is a game changer, if it's that compelling, Apple will absolutely change its tune.

Re:Safari is now probably the influential wild card browser ... by Leherenn on Saturday March 20, 2021 @02:57AM (#26521334)
Because any app that is social in nature (where interactions between users is required really) that can only reach 50% of users does not have 50% of the potential value, it's closer to 0.

As an example, my girlfriend's a nurse, and they have a really bad paging system. Basically, the doctor calls the hospital reception who calls one person who is on call, who calls the second person on call. Of course, this breaks up regularly: the wrong person is called, or they call their boss because they don't know who is on call, and so on.

I thought I would do a PWA to help them out and learn some new things, but it's pretty much impossible on iOS. Now, if 50% of her team cannot use the app, it has no value. You would have to know who has the app or not and call the other ones. It's easier to just keep on calling directly.

Re:Safari is now probably the influential wild card browser ... by oarsinsync on Saturday March 20, 2021 @03:20AM (#26521405)
> Because any app that is social in nature (where interactions between users is required really) that can only reach 50% of users does not have 50% of the potential value, it's closer to 0.

This wasn’t true 10 years ago when Instagram launched, and was iPhone only for a considerable time.

Clubhouse seems to think it’s not true today either, also iPhone only.

Re:Safari is now probably the influential wild card browser ... by JumpCrisscross on Saturday March 20, 2021 @04:09AM (#26521578)
> 10 years ago when Instagram launched, and was iPhone only for a considerable time

iPhone users are, on average, higher earners than the median American [1]. Being iOS only means you get the vast majority of high-income Americans.

[1] https://www.statista.com/statistics/195006/percentage-of-us-...

Re:Safari is now probably the influential wild card browser ... by wruza on Saturday March 20, 2021 @06:13AM (#26521974)
The issue is not very clear to me, but usually people create a group chat for that and simply turn notifications off when not “on call”. Whatsapp, telegram, signal, discord, mailing list, whatever fits more. For automation chat/email bots may be used. Chances are it’s already solved, if you take wider than “PWA or nothing”.
Re:Safari is now probably the influential wild card browser ... by chrisseaton on Friday March 19, 2021 @10:21PM (#26520230)
Isn’t the entire point of progressive web apps that they’re tolerant of different features being available or not? That’s ‘progressive enhancement’. Your app is supposed to work if the functionality isn’t there, or equally if it’s there but denied access. You can have it show updates when the user checks the app if that’s what they want.

Complaining a browser doesn’t support a progressive feature is a contradiction in terms!

Re:Safari is now probably the influential wild card browser ... by heavyset_go on Friday March 19, 2021 @10:26PM (#26520255)
It works, but users don't get the notifications they sign up for and expect without using a native app on iOS.
Re:Safari is now probably the influential wild card browser ... by 3np on Friday March 19, 2021 @10:49PM (#26520387)
Apart from chat, what are use-cases where users actually want notifications, as opposed to being coerced or tricked into accepting them?
Re:Safari is now probably the influential wild card browser ... by heavyset_go on Friday March 19, 2021 @11:06PM (#26520493)
The app helps sick patients navigate the healthcare system. Users get notifications like "Your prescriptions are ready for pickup" or "Your prescriptions are scheduled for delivery at 5PM", and it's a user requested feature.
Re:Safari is now probably the influential wild card browser ... by NegativeLatency on Friday March 19, 2021 @11:03PM (#26520475)
As an iOS user I generally don’t want notifications from apps
Re:Safari is now probably the influential wild card browser ... by chrisseaton on Friday March 19, 2021 @10:27PM (#26520263)
Right... isn’t that the whole point of progressive web apps? Users get as many features as their browser supports or they permit? That’s the point.

If your app doesn’t work like that then it’s not progressive... so you can’t complain it doesn’t support your progressive app because it’s not progressive.

Re:Safari is now probably the influential wild card browser ... by heavyset_go on Friday March 19, 2021 @10:39PM (#26520332)
Try explaining to users that the feature they want and expect doesn't work for them because their particular browser doesn't support it, despite it working on every other browser and platform.

The only solution I see is telling users to "use the app", which doesn't exist yet.

Re:Safari is now probably the influential wild card browser ... by bluecalm on Saturday March 20, 2021 @02:32AM (#26521235)
You tell them it doesn't work on iPhone because of Apple policy such and such and to go complain to Apple if they want the feature. If enough people do it then maybe things change. If developers continue caving and not letting users know there will be no pressure on Apple.
Re:Safari is now probably the influential wild card browser ... by heavyset_go on Saturday March 20, 2021 @04:58PM (#26526025)
I agree on principle, but I'm not telling sick people that.
Re:Safari is now probably the influential wild card browser ... by userbinator on Friday March 19, 2021 @10:30PM (#26520277)
"can be", not "must be"...

Remember that we had real time webchat without JavaScript two decades ago, and a lot of other things that would probably turn into some sort of Chrome-only site if invented today.

Re:Safari is now probably the influential wild card browser ... by heavyset_go on Friday March 19, 2021 @10:35PM (#26520303)
If you have a solution to giving iOS users the notifications they want via a web app, PWA or not, I'm all ears. We already implement text and email notifications.
Re:Safari is now probably the influential wild card browser ... by sp332 on Friday March 19, 2021 @10:47PM (#26520379)
Polling, long-polling, websockets? I feel like I'm missing some context here.
Re:Safari is now probably the influential wild card browser ... by Shared404 on Friday March 19, 2021 @10:57PM (#26520445)
Isn't the issue getting notifications out through the OS notification system?

Unless I'm misunderstanding something about the problem, I don't do iOS dev or any webdev complicated enough to require OS notifications.

Re:Safari is now probably the influential wild card browser ... by heavyset_go on Friday March 19, 2021 @11:00PM (#26520461)
The Push API allows for efficient push notifications without polling, I believe, but don't quote me on it. The problem is displaying notifications like you would a message notification on iOS.
Re:Safari is now probably the influential wild card browser ... by imron on Saturday March 20, 2021 @02:13AM (#26521165)
> The problem is displaying notifications like you would a message notification on iOS.

As an iPhone user, this being difficult for developers is a highly desirable feature!

Re:Safari is now probably the influential wild card browser ... by sp332 on Saturday March 20, 2021 @11:45AM (#26523916)
It would be opt-in like on every other platform, isn't that enough? As heavyset_go said, it's a huge pain when a user wants a notification and can't enable one.
Re:Safari is now probably the influential wild card browser ... by saurik on Saturday March 20, 2021 @01:15AM (#26520949)
In addition to the issues other people are bringing up, there are a ton of decentralized video use cases crippled by the lack of Media Source Extensions on iPhone (they finally I think decided to deign to include it on iPad, just not iPhone).
Re:Safari is now probably the influential wild card browser ... by fragile_frogs on Friday March 19, 2021 @10:27PM (#26520265)
Web Push Notifications, ShardeWorker, BroadcastChannel. Native Add to Homescreen, Good Developer tools to debug things on a non Apple computer, Background Sync, Notification Badging API, App Shortcuts

These are only the ones that I remember right now, but I know there is more

Re:Safari is now probably the influential wild card browser ... by olliej on Friday March 19, 2021 @10:30PM (#26520280)
web push notifications, notification badging, shared worker, etc are user hostile features. They burn battery life, the former two exist almost solely to spam users (Mozilla did a study and it turns out no one wants notifications from random websites).

Safari has had add to home screen for the best part of a decade. Giving web pages the ability to spam users to add it is an anti feature.

Re:Safari is now probably the influential wild card browser ... by fragile_frogs on Friday March 19, 2021 @10:50PM (#26520400)
> Safari has had add to home screen for the best part of a decade

On Chrome you can trigger a add to home screen prompt from your own UI, making it a two touch experience. On iOS IIRC it only works on Safari and not in Chrome, but I could be wrong.

> no one wants notifications from random websites

I am not talking about random websites, but rather web applications that you interact with on regular basis, if Apple cared about the user experience they could have just moved the notification prompt behind a user interaction.

> shared worker ... They burn battery life

If you are building more demanding websites shared workers are a great way to share state and computing resources across and thus saving battery life. Spawing a Worker per tab is more demanding.

Re:Safari is now probably the influential wild card browser ... by ksec on Friday March 19, 2021 @11:17PM (#26520552)
How about Web Push Notifications that only works in sort of a PWA mode once it is added to Home Screen?
Re:Safari is now probably the influential wild card browser ... by jdauriemma on Friday March 19, 2021 @10:14PM (#26520194)
Progressive Web Apps
Re:Safari is now probably the influential wild card browser ... by chrisseaton on Friday March 19, 2021 @10:15PM (#26520203)
But what exactly?

Wikipedia says it does support it https://en.m.wikipedia.org/wiki/Progressive_web_application:

And I know I’ve written Progressive apps for iOS myself - manifests etc.

So I know it’s not as simple as you’re saying. What do you really mean?

Re:Safari is now probably the influential wild card browser ... by jdauriemma on Sunday March 21, 2021 @09:48AM (#26530403)
Safari absolutely does not support PWAs in a meaningful way when compared with other platforms. Service Worker support is fine, but one of its main features is its use in combination with the Push API, which is not supported in Safari. This omitted feature alone alone makes web apps on iOS far less valuable than native apps. There are other omissions as well, but this one in the most glaring.
Re:Safari is now probably the influential wild card browser ... by bouke on Saturday March 20, 2021 @04:27AM (#26521645)
I’d say being able to target 50% of your market with a single codebase/binary isn’t a bad investment.
Re:Safari is now probably the influential wild card browser ... by busymom0 on Saturday March 20, 2021 @09:31PM (#26527408)
> and the fact that they refuse to allow other browser engines on iOS is the reason why we can't have nice things like progressive web apps.

Is that against the App Store guidelines? Or is that a programming limitation? I am aware all the iOS browsers are just a wrapper around WKWebView but am curious why another engine can't be implemented.

Re:Safari is now probably the influential wild card browser ... by intricatedetail on Saturday March 20, 2021 @06:51AM (#26522146)
This is another example of Apple anti competitive and anti consumer behaviour and regulators should start to look into it. Unfortunately Apple managed to amass so much wealth through various tricks and loopholes, they are now in position to buy any regulation they want and probably that's why they are allowed to continue with these practices.
Re:Safari is now probably the influential wild card browser ... by fragile_frogs on Saturday March 20, 2021 @06:58AM (#26522178)
I wouldn't care about what Safari is doing if iOS would allow you to install browsers that are not based on webkit. The fact that Apple only allows webkit browser makes it so much worse and means that no one can compete on iOS against Apple
Re:Safari is now probably the influential wild card browser ... by GekkePrutser on Saturday March 20, 2021 @01:08PM (#26524458)
Yeah it's strange because PWAs were Apple's original plan for iOS apps :)They didn't yet exist under the PWA name but this was definitely what they were aiming at.

But Safari will never be a serious option for me. I want the same browser on all my systems and I use a lot more than Mac and iOS. So Firefox it is.

Re:Safari is now probably the influential wild card browser ... by heavyset_go on Saturday March 20, 2021 @02:32PM (#26525013)
I still remember the early days of iOS and webOS via Palm and HP, and now LG. We had HTML/CSS/JS powered mobile apps available on the Palm Pre in 2009, and it was pretty great.
Re:Safari is now probably the influential wild card browser ... by Klwohu on Saturday March 20, 2021 @05:07PM (#26526076)
Some "features" are harmful to the users and only exist for the convenience of Google and other data mining and spying companies.
Re:Safari is now probably the influential wild card browser ... by irrational on Saturday March 20, 2021 @02:44AM (#26521280)
Half of Americans use an iPhone? Is that true?
Re:Safari is now probably the influential wild card browser ... by simonebrunozzi on Saturday March 20, 2021 @06:27AM (#26522033)
Re:Safari is now probably the influential wild card browser ... by jojobas on Saturday March 20, 2021 @01:33AM (#26521000)
The answer is to make the nice things and force Apple to implement them lest its user feel left behind.
Re:Safari is now probably the influential wild card browser ... by heavyset_go on Saturday March 20, 2021 @02:11AM (#26521152)
I agree with the sentiment, but the real result of that would have sick people punished for the wrong choice of phone.
Re:Safari is now probably the influential wild card browser ... by jojobas on Saturday March 20, 2021 @02:47AM (#26521294)
You choose crap you lose, always been like that. Refusing nice things to those choosing (more) open platform so as not to punish them makes no sense.
Re:Safari is now probably the influential wild card browser ... by katbyte on Saturday March 20, 2021 @10:26AM (#26523444)
Or you just send them a text?
Re:Safari is now probably the influential wild card browser ... by heavyset_go on Saturday March 20, 2021 @05:01PM (#26526040)
We already do texts and emails[1]. Users wanted desktop and mobile notifications, as well.

[1] https://news.ycombinator.com/item?id=26520303

Re:Safari is now probably the influential wild card browser ... by Anktionaer on Saturday March 20, 2021 @04:57AM (#26521727)
I don't get that, why not just not support safari if they intentionally make it difficult?
Re:Safari is now probably the influential wild card browser ... by djxfade on Saturday March 20, 2021 @04:59AM (#26521735)
Because Safari has like 50+ percent of the mobile market share in the west
Re:Safari is now probably the influential wild card browser ... by pjmlp on Saturday March 20, 2021 @05:16AM (#26521779)
On the west side of the Atlantic.
Re:Safari is now probably the influential wild card browser ... by djxfade on Friday March 26, 2021 @02:05PM (#26595076)
About 30% in Europe, but in the "western" part, like Norway, above 60%
Re:Safari is now probably the influential wild card browser ... by heavyset_go on Saturday March 20, 2021 @03:16PM (#26525366)
Because we don't think it's fair that sick people can't access the care they need because they have the wrong phone or tablet.