What compensation does Apple get for macOS apps? Microsoft for Windows apps?
for me that's pretty much irrelevant. The deal has always been, since the launch of the App Store in 2007: you pay 30% commission. hundreds of thousands if not millions of developers clearly thought this was a good deal, otherwise we wouldn't have these millions of apps. Just a couple of billionaires are very vocal about how this is bad for consumers, but that's mostly ********. It's bad for billionaires who want more dollars to give their share holders. For consumers the App Store has been a net good:
• On place to find all apps
• A pretty secure place at that, no viruses, scams that do get through usually get blocked pretty quickly
• easy to ask for a refund (did it twice, as easy as clicking a button and writing why you want a refund)
• One place to see all your subscriptions and in the same place you can easily stop them
• ...
for small developers it's a net good too:
• easy to start, publish and market your app
• barely any piracy
That apple doesn't get compensation for macOS apps has been a historic thing. It's not that suddenly apple realized "iOS is huge, let's close it down!"; it become huge partly
because of these restrictions. The App Store is part of the value proposition of the iPhone.