Apple cannot charge for that. However, apple does attempt to gimp the web platforms on mobile to "subtly" push for apps.
However, there's no such case for web (as in, web _only_).
"The user would have used our payment rails had there not been other options" seems to apply universally; Apple could say the same thing about website owners steering users away from some expensive "Apple web pay" option.
I think the difference is just leverage. Apple isn't curating what websites iOS users are allowed to visit (yet...), so they can't tell website owners "pay up or we'll block you".
Not even in the days of IE was I ever this frustrated.
I've been web devving since the days of IE as well and this reeks of hyperbole. Maybe things are different for browser games, but for me, everything has vastly improved since those days.
That does sound frustrating. You're working with APIs that I don't usually touch (audio, canvas) so it's not surprising that I haven't experienced that. I was thinking back to the days I had to support IE 8, trying to debug weird issues in production like scripts not working because `console.log` wasn't defined unless the developer tools were opened.
The latest issue that I've noticed yesterday is the button nav bar on the screen when running PWAs. The button is over the bottom navbar of the PWA, and despite apple themselves coming up with the API to inform the browser about safe display areas, it doesn't work in PWAs on iOS. PWA mode on iOS != non PWA on iOS. They often behave completely different and you often have to use JS for basic things to work, like clicking a link(yup, this was a thing for years).
Even after EU DSA told them to allow purchases via Web, Apple literally demanded a 27% cut from purchases happening outside of App Store (and then a bunch of other arrogantly greedy fee structures that keeps them in courts).
Apple knows how hard is not to be in the duopoly of app stores. They keep web apps half-assed, won't direct users to them, but allow knock-off apps to use your trademarks in their search keywords.
(All is impossible for both iOS and Android also: Games that don't get updated, games that get unlisted due to having a link to their own website with the wrong phrasing next to it, games that get unlisted due to the app store owner not being satisfied with the description page for the game, regional restrictions, requests from governments to remove socially unacceptable apps, etc)
Saying "oh just do the thing you aren't doing" shows that one of two things is true: Either every app developer currently doesn't know the web exists, or everyone else knows something you don't.
There are more app-having companies that have web apps than not
Of the mini-apps in China, I don't know, I was never exposed to the existence of their non-mini-app counterparts.
On Android for example, Play Store does not have "all" apps, or even most apps that I have on my phone. Because Play Store has mostly garbage. It's a surprise to no one that Steam's storefront has a different selection from Amazon or Epic or GoG in the same way that no one is surprised that Walmart and Target carry different items.
So "discovery" in your sense is basically "I ignore everything that isn't presented by this particular storefront", i.e. a complete lack of discovery.
https://www.humblebundle.com/store/c/all?sort=bestselling&pa...
https://www.amazon.com/mobile-apps/b/?ie=UTF8&node=235014901...
https://play.google.com/store/
https://store.steampowered.com/ (yes, you can run PC games on Android if your hardware is up to the task)
https://store.epicgames.com/en-US/
Apple doesn't have some special magic "discoverability"; they just prevent any other stores from being able to compete with them. Actually, searching for the iOS app store, I get:
https://www.apple.com/app-store/
which has no obvious way to even browse or search apps? How am I supposed to see what's available? I need to buy an expensive phone before I can even see what it can run? This is more discoverable? The bottom nav bar entry for "App Store" just takes me to the same page. If I click on "Store" it just shows me hardware; no apps. Where's the store and how am I supposed to find it? Do I need to physically go into an Apple store and use a phone there to browse?
It not like an email service where you can just switch from Gmail to fastmail to proton or to any of the other dozens of big email providers.
There's apple. There Google. That's it.
Opt out. Jesus Christ...
It doesn't matter if you are not technically in a dominant position if your special role in a large ecosystem basically allows you to act like one in your own purview.
You could say this kind of move invites more scrutiny but the regulators are already there watching every Apple's move with a microscope and their patience with Apple attempts at thwarting compliance is apparently wearing thin at least in the EU if you look at preliminary findings.