Hacker News new | ask | show | jobs
by amiantos 14 days ago
Why do people in here keep saying "web apps are a threat to the App Store" when Safari on iOS supports web apps and installing them to the Home Screen, just like it always has? Originally iOS was going to be web app only, it only added an App Store because developers figured out how to make apps without Apple's consent and Steve Jobs had to be convinced to create the App Store.

A recent project of mine is web app only, and works great on iOS and Android as an installed web app, exactly the same way. Whether Firefox is running WebKit or not, web apps are a thing on iOS already, so that's not even relevant to this discussion at all.

4 comments

Safari and iOS support an extremely limited set of "app" APIs. You can't build a web app that works with bluetooth or any other radio. You can't build any kind of full featured camera app.

You can theoretically ship a new default browser that implements more Javascript APIs. There's no way to use that to render web sites added to the home screen though. And they routinely ban browsers that add more APIs for sites.

> Safari and iOS support an extremely limited set of "app" APIs.

Yup. That "very limited set of app APIs" is always shifting and changing, according to whatever definition of "limited" suits the speaker. Every time Chrome releases another (standard or non-standard, doesn't mater) distantly PWA-related API, HN is all aflame with "look, Safari is limited".

And yet we're yet to see a plethora of great amazing PWAs on Android that doesn't have these perceived limitations.

Android doesn't have the problem because the part you dismiss in the first half isn't a limitation on Android.
Let me repeat:

And yet we're yet to see a plethora of great amazing PWAs on Android. An OS that doesn't have these perceived limitations.

I was probably a bit too unclear: What one can or can't do with PWAs wasn't a limitation on Android in the first place (though they seem to be gunning for wanting that).

I.e. it's only on iOS where there is a forced position to use PWAs for distribution of anything not vendor approved (in most regions) and therefore only on iOS where there is a desire to more heavily use them yet, not coincidentally, only iOS where they are always less powerful anyways. Solve the ask for one and you largely solve the ask for the other.

> What one can or can't do with PWAs wasn't a limitation on Android in the first place

That's what I said

> I.e. it's only on iOS where there is a forced position to use PWAs for distribution

Again:

- Whatever perceived limitations there are on iOS is an unknown quantity. Because those limitations are in the eye of the beholder. The list of what the iOS "must absolutely have" changes from person to person. And yes, that list often includes a bunch of Chrome-only APIs that have nothing to do with PWAs.

- Android doesn't have any of these perceived limitations, and yet we don't see (m)any of those amazing PWAs that people tell us will immediately appear on iOS as soon as iOS removes those limitations (whatever they are). Why don't they appear on Android then?

Even articles like this: https://www.mobiloud.com/blog/progressive-web-app-examples/ list a bunch of "well, this is now a mobile site that can be launched separately, nothing really changed" and X/Twitter of all things. And we're now in year 15 (?) of the whole "PWAs are the future!" brouhaha

There are many play store apps that are just web app wrappers. Google even makes it easy for you now.
Yes, a lot of apps are just wrappers around web sites with various degrees of badness.
If you already assume your position and bend over backwards to justify it, what's the point of this argument ?

Better just write 'I love Apple' and be done with it.

My position isn't for or against Apple. My position is against the incessant gnashing if teeth when PWAs are mentioned.

Yes. Android doesn't have any of the perceived limitations. Yes, you can now have PWAs in Play Store.

Does this somehow make PWAs great, amazing, cool, on par with native etc. as PWA proponents want us to believe (and that only iOS limitations prevent us from seeing that)? They continue being mostly shitty, and mostly wrappers around web sites. Cool, you can now install those wrappers through Play Store. Great success.

And it pisses me off to no end that the main battlegrounds around Apple and App Store end up being shit and shittier: Chrome dominance and PWAs.

Because those web apps using WebKit have limited API access compared to other engines/browsers like Gecko/Firefox or Blink/Chromium. Apple doesn't implement those APIs for "security" reasons, but they even directly point at App Store "review" process, so they openly admit that on their platform, those capabilities need review and web apps would bypass that.
https://pwascore.com/ chrome 97, firefox and(!) safari 89
Yeah they work great until your local app data somehow disappears. IndexedDB is not great on iOS PWA.