Hacker News new | ask | show | jobs
by modeless 16 days ago
The web poses a threat to their monopoly on iOS app distribution. If web apps could easily install PWAs with a home screen icon, with 64-bit wasm and access to a bunch of OS APIs not currently exposed to installed PWAs, then a lot fewer people would find it necessary to jump through Apple's App Store review hoops for the privilege of giving 30% of their revenue to Apple, on top of paying for the developer program subscription and buying Macs to run XCode.
10 comments

This is it. The only answer. 30% toll-booth/extortion racket
It's all of that, and also worse than that.

Apple is on the W3C comittee that gets to decide on which proposals will become standardized browser APIs. And they use their power there to block API proposals that could make browsers more capable, competing with native apps.

Apple is holding up quite a few useful API proposals, and they won't even suggest any changes to make to the proposals. They just do not want web browsers to be any more capable than they currently are. Apple is literally stifling innovation in favor of their own greed.

Must W3C proposals be unanimously accepted?

It seems odd the world is letting one company hold our hand behind our backs.

If it doesn't work on iOS it doesn't matter how standard it is or many other browsers implement it, because as a developer you can't rely on it. That's a big reason why Apple wants to keep their browser engine monopoly on iOS, to have veto power over standards.
Firefox follows Apple on most things Apple wants to block. But again, instead of providing any feedback or proposing any changes, they just let these proposals die in committee. I would not doubt that someday we find out Apple has been somehow forcing Firefox to do this. There is simply no good reason to block WebBluetooth, WebSerial, or any of the many other APIs that would benefit developers and users. And no, it isn't a security issue, and no it isn't a privacy issue, as these APIs work the same way existing APIs work with regards to security and privacy - they are strictly opt-in per-website, just like the microphone and camera APIs are done now.

The only reasons I see Firefox blocking it is 1) Apple is paying them, 2) Firefox just doesn't have the resources to implement them. I'm leaning towards option 1, because Firefox shouldn't care what other browser makers have the resources to implement as long as the API proposals are sound (and they are sound).

Edit: If you're going to downvote, at least provide a comment as to why I'm wrong about any of this. Provide some evidence that counter my statements. I admit I stated opinions, not facts.

WebBluetooth and WebSerial shouldn't be a thing anyway, websites don't need access to serial ports or bluetooth
>WebBluetooth and WebSerial shouldn't be a thing anyway, websites don't need access to serial ports or bluetooth

What kind of thought process did you use to arrive at this conclusion? It's really not very well reasoned, honestly.

There have already been several great projects that use these APIs. You thinking they don't matter is nonsense, because many people know that web browsers do benefit from these APIs, and I have many uses for them myself.

These APIs allow me to avoid Apple's App Store, and being forced to buy Apple desktop and mobile devices just to develop an iOS app where they can then extract even more money from me through the app. So Apple users will just have to suffer instead, because I refuse to give Apple that kind of money.

I need Web Bluetooth to communicate with my hardware device product. I don't want to have to pay Apple for the privilege to use bluetooth when it works perfectly fine in a web browser that isn't intentionally crippled.

WebSerial sounds like a really neat feature. I could see consumer 3d printing companies like Bambu using that to make 3-D printing from their model libraries dead simple, no need for the end user to even have a slicer. And for the hobbyist it makes all sort of cool web apps possible. There's all sorts of devices that I could see a much better story for if that was possible. Both for the less and more technical user.
I write biofeedback applications in React that can access Bluetooth heart rate monitors as well as serial respiration and GSR monitors and such. It is pretty simple to draw graphs, display scores, make sounds. And the same application can run on desktop and mobile without a lot of hassle because there are safari-based browsers in the App Store that support the Bluetooth API.

So it is totally useful, I can experiment with and deploy applications and not have to pay to get into the platform and deal with App Store bullshit, I just post my files to the web when I want to update.

I’d argue overall it would be difficult to make applications with a better UI outside web technology, everything else looks like Motif in comparison. There is a reason why there are so many Electron crapplets.

Perfectly fine for you to think that. However, you could simply not allow websites to access WebBluetooth and WebSerial instead of supporting browser vendors that refuse to support the features entirely. Both already require you to allow access.
Websites don't web apps do
Of course not: Google adds web features without W3C consensus all the time. And then Hacker News bitches about that too.
> XCode. > 30%.

What features on the browser are blocked that are preventing your app from being a PWA? Is it one of the many Google supported privacy breaking features no other vendors want to implement?

Regular apps have more access to de-identifying information than PWAs. JFYI.

There are all kinds of small issues. For example, we can't do HDR on iOS for photos in the browser because WebGPU doesn't support it.

Regular apps have more access to de-identifying information than PWAs.

Such as?

Everything that webapps can do, and things like directory layout, file timestamps, sensor behavior, etc.

E.g. look at the list here: https://support.apple.com/en-us/125108 - and new ones are being discovered every iOS release.

Personally I have two issues with PWA for iOS:

- Install discoverability is awful and there's not a single install button API like Chrome

- Safari often break core web features like localStorage or indexDB and since it's the slowest browser to update, you are playing russian roulette

> and since it's the slowest browser to update, you are playing russian roulette

Because only updating the browser during a full OS upgrade was a stupid move. There's absolutely no reason it can't be upgraded via the app store like Google does with Chrome and other system apps, even ones that can't be removed.

Where did you get the idea Safari is only updated along a full OS update? It gets updates roughly once month, on Mac OS independently of any OS updates.
iOS only updates Safari with OS updates. It's not updated via the App Store or other mechanisms, just OS updates.
iOS
Why are things hidden in "Share"? am I the only one who finds this mislabel a paternalistic choice?
The button is a symbol. Interpret the symbol as "send this somewhere else" and it all makes sense.
I guess my real gripe is things like find on page being in share (Under "View more"!).
Maybe it’s different in my Safari, but I see “find on page” as a top-level item in the Safari hamburger menu.
Except most people interpret "somewhere else" to exclude their phone, so it still makes no sense. Or rather, it makes perfect sense if Apple is deliberately obscuring it.
That's an entirely separate thing. Allowing alternate web engines is wholly different from those web engines being able to add arbitrary icons to springboard.
It’s exactly what I’m doing with my personal OS. It’s a web app that runs on my Mac and I access it on my phone using Tailscale and PWA. I haven’t missed not having a native app since web is that good now.

Apple only allows you to access the microphone if you use HTTPS so I had to use Tailscale serve to get a url and I use that.

Distribution is tricky since you’re asking a person to run a web app but fuck Apple’s walled garden.

This is the best pattern I found as well. Tailscale makes the networking easy, but the configuration and getting it to less techie friends is still tricky. I made Ovenlight (https://ovenlight.app) to try to simplify this setup and make it easier to share with others (non-strangers) as well. It basically automates this pattern and gives you an ios/android client app to easily and securely access and share these web apps.
This is actually really cool! I can make apps for friends and family and I guess their own personal OS? And it’s open-source. You should put a link to the GitHub on the website:

https://github.com/snowy-ghost/ovenlight

Thanks! And yes exactly, friends and family is who it's for and also just fyi mic access does work inside Ovenlight. And great feedback, I wanted to make it open source so that people felt comfortable trusting it to serve their private apps, so I'll make sure that's front and center on the site. Curious what does your personal OS do?
Yes I really like how you allow me sharing the app with one person without sharing my whole computer. And since it’s native, you can probably do PiP and even widgets. And PWAs don’t support FaceID either and yours does.

For my personal OS, the main app is one where I can control terminals on my Mac on a web page and I built that into the personal app. The other is a calendar that’s not connected to Google or Apple calendar. It has an MCP so Claude can schedule tasks for me, workout session, LinkedIn posts, etc. It has a nice timeline so I can see my day.

Another big app is curator where I started finding and collecting nice things I find on the internet and good websites. Overall it’s a great playground to get ideas off the ground before turning them into fully fleshed products.

I also made a lot of mini apps in personal OS for websites I don’t like or push ads so I use their unofficial API. It also has a built in web browser in the web app itself so I can look at the website changes and dictate to the AI at once. Overall it’s helping me build an open-source Shopify for every vertical.

This is really cool. Excited to play with it.

My one suggestion is to create a style guide for Claude so that the homepage doesn't have Claudeisms.

For example, Claude loves the word hold, which is v annoying. The word "with" is right there.

E.g. "anyone holding its invite link"

transpile a copy of gecko/firefox to js that renders to canvas?
Sounds wildly inefficient
It's so funny considering that at some point Jobs was pushing this version of webapps as future of iOS instead of native appstore apps.
PWAs were literally Steve Jobs' vision for the iPhone when he launched it https://www.youtube.com/watch?v=QvQ9JNm_qWc
That may be what he said at the time. It was easier for Apple and differentiated from competitors. Yet that changed so quickly I find it hard to believe they weren't already working on native apps behind the scenes.
There was some movement that way, but it was a skunkworks project and not part of the official plan, as I recall.
Jobs said this because at the time the platform was not ready and no App Store for third party apps was available.
The web is filled with garbage. Purpose built programs are always going to be better than web solutions which will never be trusted nor be as good particularly in the era of AI. And it’s also funny about this new theory that you are a monopoly of yourself.

What a concept if you build something well, people actually will pay if a product is good I mean, I don’t understand the problem. Isn’t Android out there? How are developers doing in the Android world when it comes to people actually paying when it comes to apps. I understand that it’s three times less, despite the market being three times bigger worldwide.

Plenty of apps are also garbage.

Plenty of "apps" are just thin wrappers around webviews.

Plenty of applications do not need the complexity of compiled apps, or need both an iOS and Android version.

Regardless, technical arguments are mostly irrelevant, because the entire decision-making process is distorted by Apple prioritizing its 30% cut of apps and suppressing its 0% of webapps.

That does not add up. In the EU you can distribute apps on iOS outside of App Store. So, there's no monopoly.
Effectively it is because getting accredited as an official App Store is made so ridiculously demanding by Apple that almost no one can afford it and then you still have to somehow get consumers to switch to your App Store.
Why do you have to set up your own App Store when others have already done that? There are alternative stores; publish there without any Apple oversight.
There's plenty of oversight on the alternative app stores. Apple still retains the authority to block apps regardless of what store they come from.
What's important is that you can publish without Apple's review. I doubt that unless you publish something extremely criminal Apple would care to revoke the certificate.
Except for the time they did it to UTM in alternate stores: https://sixcolors.com/link/2024/06/apple-refuses-to-notarize...
Apple can’t lead a horse to water. Most people still to this day don’t buy most of the apps that are on the App Stores and mostly it is a trust issue and in most cases quality issue even at this late date.

Epic had a chance with their own store in Android. It turns out no one trusted them and no one bought from them, but that didn’t stop them from crying. Google is unfair and what’s interesting is that they still have the same problem on iOS. No one trusts them and the government ultimately can’t help with that.

And no surprise, Epic is having the same problem within the iOS world. No one trusts them.

You can easily do this now. No one does it. It has been supported since the dawn of time
Until iOS decides to clear the browser storage of the PWA or similar shenanigans. It's terrible on purpose.