by heavyset_go · 5y ago · 0 comments
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.
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.
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?
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.
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.
It would be reasonable to allow notifications only to installed PWA, and not just any website you visit.
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.
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..
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."
The whole discussion is about it being unnecessary resource use to develop said "simple app" due to Apple's restrictions on mobile Safari..
> 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.
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.
Who are you? And why does only your absolute opinion matter, when others are asking for a choice?
We are the the 99%
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.
Firefox unfortunately has no choice but to be dragged along by Google.
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?
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.
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.
99% of Electron stuff could be done as pure Web application, and if native support is required, running as daemon.
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)
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.
> 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.
It is almost Electron level bad.
[1] https://developer.mozilla.org/en-US/docs/Web/API/Push_API
[2] https://developer.mozilla.org/en-US/docs/Web/API/Notificatio...
I think apart from Gitter I’ve never wanted a notification, as a user.
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.
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).
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.
If the app really is a game changer, if it's that compelling, Apple will absolutely change its tune.
Complaining a browser doesn’t support a progressive feature is a contradiction in terms!
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.
These are only the ones that I remember right now, but I know there is more
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.
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.
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?
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.
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.