248 points · by judah · 6y ago · 195 comments
PWA collaboration seems to be a step in the right direction, especially since Edge is using chromium and Microsoft seems to be building great PWA apps[1].
Although I'm not entirely sure about Google's end game with PWA[2], I hope these kind of collaboration motivates industries to build more PWA apps and put pressure on Apple to properly support PWA APIs in Safari; then may be, just may be one day we'll have fair grounds for new mobile operating systems to compete without this Playstore/Appstore duopoly.
They need to stop doing this, or they will hurt themselves in the long run. As it is, most people use Safari on iOS because they are forced to - all other browsers on iOS are forced to use WKWebView, which basically means they are wrappers around Safari's view.
To this day, I can't understand why their users stand for this. In this regard, Apple reminds me of a cult leader brainwashing their followers into believing the cult's way is the best way. Makes me a little sick actually.
My iOS device has never once shown me "this website requires Chrome." I get to use the mobile web without needing Google. And Apple is the only reason why.
Maybe some day, web apps will become so undeniably awesome that Safari's position is untenable. But the agitation is not coming from iOS users missing out on awesome PWAs. Instead it's web developers, who are just annoyed that they have to actually respect the conventions of the platform they're building for.
As an end user, I dread the days PWAs ever go mainstream. They’re horribly inefficient from a power and performance point of view, and never have I come across a PWA with a user experience half as good as native apps (especially on mobile). Until they’re indistinguishable from native apps in terms of user experience, I want nothing to do with them. Beyond that, there’s some very serious privacy concerns as well with PWAs, especially with developers abusing APIs for fingerprinting
Let's be real though, Apple didn't enforce this to save user's the small annoyance of 'use browser X' popups. Instead it gives them full control over what web APIs are available on iOS devices, so they can avoid implementing those APIs that would impact on their App Store revenue. They have a clear financial benefit in not supporting the PWA technology that would move the 'simpler' apps off their app store and into web - where they wouldn't receive their developer license fees, a cut of paid apps and a cut of paid subscription fees (outrageous). Also, I believe it was Steve Jobs who first shared the vision of web applications on iPhone “that look exactly and behave exactly like native apps” ?
> Instead it's web developers, who are just annoyed that they have to actually respect the conventions of the platform they're building for.
Developers already get around this to some extent with cross platform tools such as React Native, Xamarin, Flutter. Native apps will always have a place, PWAs are not going to replace sufficiently complex app experiences, much like on Android or Windows.
Why would your iOS device ever need to show such a message, unless it's implemented by the website itself? I don't understand the scenario you're describing at all.
Do you mean UI conventions, or the "30% revenue cut and a gag order on even mentioning non-appstore signups" convention?
Justifying blatant anticompetitive and user-hostile practices by native UI holyness is getting kinda old.
Why would any PWA say that, if Safari had proper support for PWA?
>Instead it's web developers, who are just annoyed that they have to actually respect the conventions of the platform they're building for.
Say the developer is from a village in India or Nigeria who has just a Raspberry Pi to develop apps -
•What if the developer didn't have thousands of dollars to invest in new equipments just to develop for iOS?
•What if the developer wasn't able pay $99 every year for the Apple developer license?
•What if the just didn't want to give 30% cut to Apple from the revenue each time?
For all the times Apple uses 'Equality' in its marketing, the Apple platform & ecosystem restrictions clearly seems to be aimed at the privileged, pushing the agenda that 'Privileged is good' and 'Everyone should aim at being privileged'.
Less empathetic would respond, 'Well that's not Apple's fault that they aren't privileged'; Well then, we have to go back into colonial imperialism & American capitalism to prove why they aren't privileged in the first place and why Apple holds a responsibility every time it uses 'Equality, Human etc.' in it's marketing; which would be digressing from the topic.
As an iPhone user I actually like that all phones use the same engine. It prevents the “this website is better viewed in <browser>” pop up from affecting mobile users (and in particular it forces google to support a browser other than chrome). In other words, the engine monoculture means that making a site work for any iOS users means it will work for every iOS user, which I as a user really appreciate.
Are you sure you aren’t the one being brainwashed?
Why should anyone trust Google, since they make virtually all of their revenue from ad tech, which means tracking users across the web, even when they don't want to be. Advertisers are Google's customers, not the users of their browsers or operating systems.
And since Apple makes virtually all of their revenue from selling devices and services, who's more credible on the issue of privacy?
If we are to believe Apple cares about its users, then it makes perfect sense why they don't allow slower, less power efficient, less secure and less private web engines available on iOS.
"But shouldn't this be up to the user?" some will say ask. Yes, but to a point. There are already so many ways on the web to shoot yourself in the foot. Apple is making it clear that if you want a platform where there are no safeguards, then this isn't the platform for you.
There are certainly a tiny, vocal minority of iOS users who complain a lot about wanting the ability to shoot themselves in the foot if they so choose. But Apple knows those aren't their core users and their revenue show that.
They need to stop doing this, or they will hurt themselves in the long run.
People have been saying this for many years and now they're valued at over $1.5 trillion during an economic collapse and global pandemic. Please tell me when the lack of web APIs that would make it easier for their users to be tracked on the web is going to have any material effect on them.
I'm not saying Google is incredible (my opinion is quite the contrary actually). However, I am saying Apple is holding the web back, in a fairly annoying way, for developers.
The fact that they are a rich corporate does not mean they always will be, or that they're conducting their business in the best way possible. There are plenty of examples of rich tech businesses that lost their market share very quickly. We don't even need to look that far into the past for an example: BlackBerry sticks out in my mind. I believe their stubbornness and resistance to change caused their downfall. I feel it may be a similar fate for Apple, and for similar reasons, unless they change their attitude towards the web.
If you are going to be fear-mongering based on vague assertions and appeals to business models, it would be wise to mention the 30% fee on all digital transactions that Apple extorts from all its apps. It is very clear that Apple doesn't want to lose that control (and revenue) to the Web, which despite the attempts of all corporations (including at times Google), still manages to be a little more open than our corporate overlords would like.
Caring would mean giving people a choice. The real reason is they're pivoting into services and other forms of recurring revenue. They don't want people building platform-independent apps that don't need Apple approval and can bill outside of their 30% cut.
Do you have a source that shows how chromium/edge/firefox/etc are inferior to safari in this regard?
Woah![1]
> "But shouldn't this be up to the user?" some will say ask. Yes, but to a point. There are already so many ways on the web to shoot yourself in the foot.
That sounds exactly like what a dictator would say when asked why the citizens are not allowed to vote.
[1]https://googleprojectzero.blogspot.com/2018/10/365-days-late...
We don't need this whataboutism to evaluate Apple. You're making the argument for PureOS or Debian, not iOS.
> If we are to believe Apple cares about its users, then it makes perfect sense why they don't allow slower, less power efficient, less secure and less private web engines available on iOS.
No it doesn't. They could make a better browser and, if it was actually better in every way, nobody would have any reason to use anything else. The fact that people would given the choice implies that something about choosing differently makes them better off enough to switch from the default.
> Apple is making it clear that if you want a platform where there are no safeguards, then this isn't the platform for you.
Safeguards mean warning someone adequately when they're about to do something suspect. Outright prohibiting the user from making an informed choice isn't a safeguard, it's a cage.
> People have been saying this for many years and now they're valued at over $1.5 trillion
Exxon was at one point the most valuable company on the exchange as well. What does that tell you about the ethics of how they got there, or what their future prospects look like?
If the option is Android + first-class support for PWAs vs. Apple with limited support for PWAs, I’ll go for the latter every time.
Part of Apple's success is their extreme stubbornness. They decide something and make zero compromises. The consumer tech industry is forced to fall in line with whatever they want; they have final veto power over all new consumer tech basically.
The purpose of the App Store was to ensure that Apple got a cut of every dollar flowing through the store. Gatekeeping quality requires more than blocking developers from uploading fart apps.
I downloaded a simple HIIT (high-intensity interval training) timer app the other day. It's just a glorified stop timer that automatically pauses at intervals so you can do exercise-rest cycles.
I settled for the second or third most popular alternative since it was the first one that didn't have a HIIT-timer-as-a-service business model (WTF... no, I don't want to create an account for a timer app).
Still a disgusting experience. Before you start an exercise there's an obnoxious 10-second video ad playing at full blast. The interface is atrocious, too.
The app was free, so I can't complain on that front, I guess. I would pay $3-$6 flat for something like this, but herein lies the problem: I can't even find such an alternative. The results in the app store search were filled with garbage (SaaS as I mentioned, irrelevant crap, bloated "fitness assistant" apps, etc.)
I could definitely conceive this app being built as a PWA and being 100x better than many of those. For this use case I couldn't care less about PWA vs. native, both could work if done well; the point is that I really don't see what Apple's supposedly strict standards have done to protect my user experience from greedy, incompetent or careless designers and developers.
Yeah, it's disgusting.
> The purpose of the App Store was to ensure that Apple got a cut of every dollar flowing through the store
I think there were competing internal forces: a desire to milk the iPhone's success, vs something akin to an Apple retail store experience. Sadly they gave us the worst of both worlds: they freely admit shit, yet pick fights with good stuff, like Basecamp Hey mail.
It makes no sense why Apple would choose to defend this hill. Either make it a Zen garden or turn it to a web-style free-for-all.
At some point their hardline stance will backfire.
Firefox on android does a great job of notifying and offering to install PWAs, but on desktop seems to pretend they don't exist. The bug report for adding any PWA support on desktop has been languishing for years. And as far as i can tell, the ubuntu software center team doesn't believe that PWAs exist at all.
it seems crazy to me that there's no functionality built into ubuntu that allows me to add youtube to the app list.
Now they seem to have given up on the promise of the web as an app delivery platform and have aligned with Apple on a pro-privacy stance that seems based more on posturing than safely providing capabilities.
Firefox is currently unusable on mobile :/
On Android, Firefox is the MOST usable browser.
I'm car shopping and downloading specs from multiple dealers straight out doesn't work - the downloaded PDF won't open, works like a charm in Chrome.
Stuff like this is why I suspect most non tech people would revert to Chrome pretty fast.
Chrome has a few nice things going for it, but i'd rather have ublock.
Major websites wouldn't work properly (Twitter) and sharing images directly from a website (memes are my bread and butter) also didn't work.
I use Chrome with NextDNS on Android.
Maybe it's because I've got an "old" phone (4 years ish), but Chrome's insisting that I must download everything a website throws at my made it extremely difficult to use comfortably. As soon as I found out Firefox had extensions on mobile, I switched both my desktop and mobile browsers, and it's been great.
To me, full support for PWA across all vendors' app stores would represent a revolution in the ability for hobbyists and small development shops to publish incredible applications.
Has HN not been published as a PWA to the various app stores yet? This seems like an obvious use case and could serve as a great example for other applications.
A progressive web application is a type of application software delivered through the web, built using common web technologies including HTML, CSS and JavaScript.
- Fast (cache with service worker)
- Reponsive (no explanation needed)
- Offline page (so if the user lost connection or the web site is cached and he visite when he's no connection the app should work or at least display a custom offline page)
- Engaging (fancy word, to say it's need to behave like an app + push notifications)
- Installable (if the browser is compatible and you visite the website more than once it'll ask you if you want to install the app. This will create a shortcut and when you click on it it'll open like an app (no address bar))
But Apple is very late and don't support all of this.
Really vague concept without strict definition.
That being said, how will PWAs get around the apple and google requirements that apps downloadable from their stores where they mention apps can't just be a website wrapped into an app?
Fair question. Google is implementing a new quality bar for PWAs in their store. See this post[0] for details.
Microsoft also is doing work in this area. We're not ready to share details, but will likely in the coming months.
With PWABuilder, our goal is to help devs build quality PWAs: ones with rich offline experiences, measurably great performance, and apps that are functionally rich. This implies something more than e.g. your resume packaged as a PWA. Towards that end, PWABuilder analyzes your PWA and gives you feedback on capabilities: encourages use of our rich web components[1], helps you build a great offline experience[2], and more. Whether your app is functionally useful (i.e. not just a brochure) is a quality bar left to app stores themselves.
[0]: https://twitter.com/ChromiumDev/status/1276223634550353920
https://developers.google.com/web/android/trusted-web-activi...
If PWAs would get their own permanent storage like other apps, it would be a huge step forward.
One of the issues is that storage in a PWA is done via localStorage or IndexedDB... both of which aren't really available outside of the browser.
Also, part of the benefit of a PWA is being able to be in mobile devices and 'storage' there is different than on the desktop.
PWAs usually store client-side data as a kind of cache: cookies, local storage, service worker cache. Caches are not meant to be permanent.
There may be room for improvement here, however. One might imagine that clearing browser data shouldn't clear data for installed PWAs. That's an argument worth further evaluation.
"Why did all my data get deleted? How can I get it back?"
and
"Why is it saying the browser won't let me store more data?"
The user's desires are pretty clear in both cases, but it's very unclear how the user can get what they want.
Not being able to reliably store data on the device means that PWAs have to send the users data over the internet and store it on an external server. I would think users rather do not like that.
I am only talking about installed PWAs here. Of course not every website should be able to avoid having its cookies deleted.
Installed PWAs is another question. I suspect users will be surprised if they clear their browsing data only to discover they have to login again to Twitter, for example.
I may raise this question to the Edge Chromium team. I'm certain it's been raised before, but with Microsoft making PWAs first-class on Windows[0], this becomes a more prominent issue.
[0]: https://www.windowscentral.com/heres-how-microsoft-making-ed...
i mostly agree, but the user experience isn't there yet. browsers make it easy to delete all data, but don't have any workflows that encourage deleting the data from only a single app. at this point, it seems less about empowering users to have control over their own data and more like browsers just don't care about PWA data.
I see from the link that Chrome is already doing an "origin trial" even if the spec itself isn't complete. So, why would it be "released more broadly". Or is it the Constructible Stylesheets again? When both Safari and Mozilla said "no", but Chrome released them anyway?
The same crowd that now complains about Google, was worshipping Chrome, talking about how its its developer tools are, the multiprocess architecture, handling hundreds of open tabs (still to understand this one),.....
So if the Web is turning into ChromeOS, they only have themselves to thank for.
kinlan is referring to this web API[0], which allows a PWA to store data persistently.
Perhaps the solution instead is that we need a way to distribute natively compilable apps via other means, maybe through a website but also through other app stores not subject to the Google / Apple duopoly; so basically PWA level access and downloadability, but not made with web technologies.
Flutter supports compiling to PWAs
All that would need to happen is Apple to allow sideloading apps. Then the only limit would be developer creativity.
Since when anything in Play Store (or Apple's App Store, for that matter) was discoverable? I can't find anything even remotely relevant to anything i want using these stores, i always have to use 3rd party sites (or just google something like "<something i want> for android", sometimes even adding a site:reddit.com at the side if there are too many results, just to see what others are suggesting) and then if there isn't a Play Store link, i have to write the app's name exactly in the store's search, otherwise it will never appear on the results.
Discoverability has been a joke on these stores ever since they got more than about 1000 apps - and they still are designed as if they only have about 1000 apps.
We've trained a generation of users to look for apps in app stores. I blogged about this here[0], but having your PWA in app stores means more users for your app.
[0]: https://debuggerdotbreak.judahgabriel.com/2018/04/13/i-built...
Discoverability is an issue too. If your users search for your app keyword there then you're more easily found
What's missing is the ability to integrate it with my OS app launcher, though I can get around that by adding my own launcher. Something like:
firefox --ssb="https://news.ycombinator.com"I and many others would love to see Firefox supporting installable PWAs. :-)
If you're referring to the PWABuilder analysis page, yeah, we hear your feedback. We're going to be revamping that page in the coming months. We'll deal with push notification score when we do that.
I dug into pwabuilder-lib and found the culprit: our manifest URLs use search parameters, which are silently stripped by pwabuilder-lib. Here's the GitHub issue I filed, including a proposed fix:
https://github.com/pwa-builder/PWABuilder/issues/949
Obviously, this wouldn't have been possible if PWABuilder hadn't been open source, so kudos for that.
Pwas are for apps wherein their functionality is entirely web based, and people just want an icon for it.
* is installed
* may run offline
* may use extra system resources
Now imagine how good it would be if there were competition on the desktop market.
https://www.microsoft.com/en-us/p/surface-pro-x/8vdnrp2m6hhc...
https://www.samsung.com/us/computing/windows-laptops/galaxy-...
Is it lower friction to start up your team's blog on Medium versus the unified blog platform larger Microsoft teams tend to use?
That said, we have been mulling building our own blogging platform using our own tools and web components for the sake of dogfooding.
Open standards are meaningless when only one cares about them.
This collaboration with Google took place because Google revamped their "PWAs in the Store" story. It used to be a very basic story: a native app wrapping a web view that loads your PWA. Those worked, but didn't support some modern APIs (e.g. service worker, IIRC), didn't share cookies and login information with the browser, and other problems.
Google revamped the story here to a more first-class approach for PWAs in their Store. It's called "Trusted Web Activities."
And earlier this year, Google created Bubblewrap, a command line tool to generate a proper Trusted Web Activity for publishing in their Store. So we wanted to take advantage of that new and better approach. That's really our reason for collaboration here.
https://developer.microsoft.com/en-us/windows/pwa/
The best part was that this way WinRT APIs are directly exposed as browser APIs, no need for hybrid solutions.
This is just the next step using the Chrome based engine instead.