Why there are still no non-WebKit browsers on iOS (blog.mozilla.org)

276 points by lapcat 6 hours ago

st3fan 2 hours ago

You also cannot work on this outside of Europe. Developers have to use VPN or special networks to make iOS think they are in Europe. Otherwise you cannot build and run with a custom engine.

It is completely bonkers.

Apple is smart enough to just allow this world wide AND still make huge profits.

classified 6 minutes ago

By now, Apple management is just a bunch of standard idiots, driven by greed, same as in any other monster corporation.

refulgentis an hour ago

> Apple is smart enough to just allow this world wide AND still make huge profits.

Well, no, empirically, it is not smart enough.

Not to be persnickety. :)

Just was a wake up call for me, over years, to realize when I was reflexively making claims* on behalf of Apple that they wouldn't back up.

* a less sad example: they're totally taking gaming seriously now and its gonna be so good. Among others, I thought for sure Apple TV was gonna be at least a minor console

JamesSwift an hour ago

> Apple TV was gonna be at least a minor console

I mean, it is? Its sort of a poor mans steam machine.

refulgentis 18 minutes ago

spogbiper 5 hours ago

Why is Apple so hell bent on preventing alternate browser engines in iOS? Is there a financial benefit for Apple in forcing their own engine on every user? At the surface level this just seems silly so I must be missing something.

modeless 4 hours 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.

nchmy 4 hours ago

This is it. The only answer. 30% toll-booth/extortion racket

hn-acct 2 hours ago

> 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?

cyberax 2 hours ago

leptons 3 hours ago

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.

paulryanrogers an hour ago

basch 2 hours ago

transpile a copy of gecko/firefox to js that renders to canvas?

paulryanrogers an hour ago

omnimus 3 hours ago

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.

nchmy 3 hours ago

theturtletalks 4 hours ago

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.

viktorcode 3 hours ago

That does not add up. In the EU you can distribute apps on iOS outside of App Store. So, there's no monopoly.

mentalgear 2 hours ago

boxed 4 hours ago

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.

odo1242 an hour ago

Browser engines require JIT compilation to work with any sort of performance. The whole iOS security model is (at least partially) based on Apple being able to validate all app code in advance, so Apple doesn't want apps to be able to ship engines that can do their own code generation since they can't sign code generated at runtime.

geocar 4 hours ago

> Why is Apple so hell bent on preventing alternate browser engines in iOS?

To keep Safari relevant.

> At the surface level this just seems silly so I must be missing something.

I worry a lot about the day Chrome becoming possible on iPhones, because at that point, people will be able to ignore Safari.

curt15 4 hours ago

Chrome wouldn't magically install itself or make itself the default browser. Users would only ignore Safari if they explicitly want to use Chrome.

Tagbert 4 hours ago

GeekyBear 4 hours ago

troupo 4 hours ago

geocar 4 hours ago

fearthemachine 2 hours ago

sroussey 4 hours ago

orangecat an hour ago

I suspect that a $5 trillion company could do a reasonable job of competing in browsers if they had to.

solyin 4 hours ago

Yes. Apple gets more money if they don't open up, according to this UK government investigation. 2022.

https://www.gov.uk/government/publications/mobile-ecosystems...

nicoburns 4 hours ago

Google pays Apple roughly $20B a year to keep Google the default search engine in Safari. It only does this because of Safari's market share.

pmontra an hour ago

I've seen reports of about 2 billion active iPhones, that would be $10 per device. It means that Google can extract a lot of money from that people.

asdfsa32 4 hours ago

There are some browsers but nothing with JIT, Apple doesn't want to allow JIT because it makes it easy to bypass the operating system restrictions.

spankalee 4 hours ago

They don't want to allow JIT because it lessens the monopoly of the App Store.

larme 4 hours ago

GeekyBear 4 hours ago

> Why is Apple so hell bent on preventing alternate browser engines in iOS?

They don't trust third parties to keep up with exploits on such a large attack surface.

The sheer quantity of old school Flash's exploits were a recent memory when the policy was set.

realusername 3 hours ago

Safari is the last non-evergreen browser since it's tied to the OS and the slowest to update so I'm not sure the security argument goes in their favor.

lern_too_spel 4 hours ago

At the time of the DMA, this wasn't a problem. What's your next excuse?

notnullorvoid 4 hours ago

A large part is to hinder PWA capabilities on iOS, having equivalent PWA support to Android would drastically impact App Store revenue.

CharlesW 4 hours ago

The Safari team is doing a terrible job of hindering PWA capabilities on iOS: https://pwascore.com/

> …having equivalent PWA support to Android would drastically impact App Store revenue.

This would be a credible argument if PWAs on Android had any impact.

dunham an hour ago

nchmy 4 hours ago

notnullorvoid 3 hours ago

nchmy 4 hours ago

This exceptional series of blog posts explains everything: https://infrequently.org/series/browser-choice-must-matter/

and this org is doing the most and best work to force Apple to change. Please support them: https://open-web-advocacy.org

monocularvision 4 hours ago

They obviously don’t want to allow alternate browser engines but the only objection the alternate browser vendors have is that they’d had to release a new app (since they allow only alternate browser engines in certain markets)

That sucks, for sure, but I don’t see why that stops the browser vendors. Like… why wouldn’t just release a second app and see how it performs?

k9294 3 hours ago

> The deal between Apple and Google makes Google the default search engine in Apple's Safari browser, with Google paying Apple roughly $20 billion annually (including a 36% share of search advertising revenue generated through Safari).

So.. Yes. More hoops to jump over, less competition, bigger market share, profit.

shmerl 33 minutes ago

They were always extreme in market manipulation anti-competitive and lock-in behavior like that, as long as they thought they could get away with it, damaging the competition with impunity.

Browsers in iOS is just one of the most infamous examples, but they do it all over the place.

doublerabbit 5 hours ago

They would have to expose parts of the OS that they like to keep close.

afavour 3 hours ago

A simple technical reason (and no, I’m not saying there aren’t anti-competitive reasons they do it too) is the locked down OS.

Safari has JIT. The webview you use inside apps runs in its own process, and has JIT. If you run JavaScriptCore in your own process, it doesn’t have JIT. So they’re clearly concerned about the possibility of JIT breaking some kind of security concern.

nchmy 3 hours ago

This is not even slightly why they prevent alternative browser engines.

afavour 3 hours ago

ozlikethewizard 4 hours ago

The cynic in me says Apple intentionally gimp Safari + webkit making the mobile 'web app' experience pretty terrible on iOS. Poor web apps leads to requirement for good native app, Apple retains strong control over what gets run on their devices and maintains their very juicy cut of in app purchases.

CharlesW 4 hours ago

> The cynic in me says Apple intentionally gimp Safari + webkit making the mobile 'web app' experience pretty terrible on iOS.

Safari is as bad at PWAs on iOS as Firefox is for PWAs on Android. https://pwascore.com/

Tade0 4 hours ago

> The cynic in me says Apple intentionally gimp Safari + webkit making the mobile 'web app' experience pretty terrible on iOS.

I mean, that's the prevailing notion.

There's the question of battery life, but that isn't really well served by having e.g. poor touch sampling when a WebGL app can easily go through the entire battery of an iPhone in an hour.

carlosjobim 3 hours ago

Is there actually any overlap to talk about of web apps that are also one time payment? What apps are we talking about? I don't see many paid apps out in the wild which aren't exclusively native (as opposed to web). Subscription apps easily bypass Apple's app store cut.

I purchase native apps whenever I need to. I wouldn't mind purchasing a web app if that was the best option, but where are they for sale?

alerighi 4 hours ago

Because with browser with an alternative engine (like Firefox) you can run extensions, and with extension you can (for example) block ads reliably on every site, bypass paywalls, access piracy sites, and do all sort of stuff that Apple prohibits you to do.

I wouldn't be surprised if Google will start attaching Firefox even on Android in favor of Chrome... the sole reason they probably didn't already do so is that they fear sanctions from the EU and other countries that have antitrust in place.

mannyv 4 hours ago

I run ad blockers etc just fine on iOS.

You need to be up-to-date if you're going to spew bullshit. Ask the AI first.

akersten an hour ago

ozlikethewizard 4 hours ago

dadoum 3 hours ago

There are non-WebKit browsers on iOS but they don't qualify for notarization:

- Reynard: Gecko-based, iOS 13+, extension support https://github.com/minh-ton/reynard-browser

- Blinker-Fluid: Chromium-based, iOS 12+, content blocker https://github.com/Nodesclock/Blinker-fluid

I am guessing neither of them are relying on BrowserEngineKit nor following the safe programming guidelines Apple enforces for them to be distributable (and get JIT support on the store basically).

OsrsNeedsf2P 4 hours ago

> One of the conditions requires us not to disclose non-public information related to the project

This is insane. Basically if you have a cool project you want to show progress and build hype around, you're not allowed to. Apple knows exactly how deadly this is

Someone 3 hours ago

> One of the conditions requires us not to disclose non-public information related to the project

What does that mean? Doesn’t anything they disclose become public the moment they do that?

hunter2_ 4 minutes ago

My interpretation was more like: One of the conditions requires us not to disclose [information Apple hasn't publicly disclosed] related to the project -- so essentially the Firefox team is having difficulties beyond what they mention here, but they can't mention them here because Apple hasn't mentioned them publicly. Presumably, it's something about the root cause of the prohibition on an engine swap in the existing app.

roachman 4 hours ago

I just want to be able to use a custom search engine on Safari without having to use a hacky workaround that only half works..

heubergen an hour ago

iOS is the last bastion before Chromium has the monopoly. Gecko is at 5%, WebKit has 15%.

If keeping a monopoly alive in a small part of the technological world prevents a monopoly for everything, it's worth doing so.

bigyabai an hour ago

Safari can remain a preinstalled default without preventing me from using my preferred Firefox browser. There is no excuse whatsoever.

endemic 5 hours ago

> we can’t simply update the Firefox app

I'm confused about this part. Is there some sort of code signing requirement that wouldn't be available to the "original" Firefox iOS app?

george_perez 4 hours ago

They just mean they can't update their existing app with the non-WebKit engine. They have to make a separate SKU, with the non-WebKit engine, and publish that on the App Store.

The sentence after that explains what they mean. They would have to migrate users from the Firefox WebKit SKU to the Firefox Gecko SKU in the EU and migrate all the data from one SKU to the other, essentially a full browser migration.

nguyenkien 4 hours ago

Apple require app with non-WebKit engine target Japan OR EU only. So they can't just update exists app.

Hamuko 5 hours ago

Isn't that because alternative browser engines are region-locked, so you'd need to have a WebKit version and a non-WebKit version for different regions?

fl0id 5 hours ago

every update goes through an app review. how do you think that's going to go if you don't adhere to this?

captainmuon 4 hours ago

Well I mean there is this port of Gecko to iOS, but you have to sideload it and it seems not as polished as Firefox: https://github.com/minh-ton/reynard-browser . But it's good to at least see somebody try!

notfried 3 hours ago

There can't be many people that care enough to download an alternative browser. Building a wrapper browser is relatively easy. Porting and maintaining an engine is likely not worth the squeeze. If people actually wanted this, they wouldn't mind migrating their bookmarks to another app. That's not much of an effort really.

Not enough people care → the economics doesn't make sense → Mozilla doesn't care. This is "why there are still no non-WebKit browsers on iOS."

vjulian 4 hours ago

Tech companies are typically the ‘bad guys’ to put it simplistically, and I suspect that is the case here.

But, is there a genuine ‘non-asshole’ reason for these continued Apple restrictions post the EU regulations?

nchmy 4 hours ago

No. Its all about money - web apps are a threat to their App Store extortion racket

gmueckl 3 hours ago

Is anybody bringing a lawsuit against Apple over this? If this is indeed subverting the purpose of the law, this should be a fight worth taking.

leptons 3 hours ago

Apple is/was being sued by the US DOJ in a class action lawsuit over many things relating to these issues: https://www.justice.gov/archives/opa/media/1344546/dl?inline - I say is/was beacuse "Tim Apple" gave a golden trophy to the current president who is easily distracted by shiny gold things.

Apple already lost in Europe and must now allow other browser engines to be installed on iOS by European users.

amiantos 3 hours 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.

mrkurt 2 hours ago

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.

zb3 3 hours ago

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.

viktorcode 2 hours ago

So, Mozilla's excuse is not the complexity of making a browser engine up to Apple's specs [1], but that the users will have to deal with 2 different Firefox browsers on the store.

I find it hard to believe.

[1]: https://developer.apple.com/support/alternative-browser-engi...

cyberax 2 hours ago

They'll double their support load, because a good browser will only be available in Europe. And then it'll get randomly disabled for people travelling outside the EU.

Nothing beats not being able to access your stored data when you're away on a business trip!

tredre3 an hour ago

I don't like Apple, and maybe you were just using the slippery slope argument. But let's be clear: your apps don't get disabled when you travel in a country where they're not available.

t1234s 2 hours ago

if iOS had:

- something similar to ADB

- profiles like graphine OS

- ability to remove the bloatware apps (music, books, etc..)

- real firefox with real adblock extension

I think a lot of google users would jump ship.

breakwaterlabs 25 minutes ago

You can remove most iOS default apps.

And Orion browser has built-in adblock, AND supports firefox extensions, on all Apple OSes.

coretx 4 hours ago

Controlled opposition is no competition.

charcircuit 2 hours ago

But why not at least try? Apple has no incentive to improve some of these things of no one is releasing alternative browsers.

cromka 3 hours ago

Once the admin in US changes in January, you can expect a sheer force of the backlogged EU fines, which they held back to avoid tariffs and other retaliation.

And hey, don't downvote me, I'm seriously just a messenger here.

leptons 3 hours ago

I downvoted because I don't understand your comment, and I've been tracking the issue of other browser engines not being allowed on iOS for many years.

vouwfietsman a minute ago

Sounds like a poor reason to downvote.

cromka 26 minutes ago

EU already held back some fines. Not just Apple fingers, other big tech as well, especially social media corps. And not just EU.

lapcat 5 hours ago

"Using alternative browser engines in the European Union" https://developer.apple.com/support/alternative-browser-engi...

This includes a long list of strict requirements, some of which are hypocritical because Apple itself doesn't follow them, e.g., "Prioritize resolving reported vulnerabilities with expedience, over new feature development" and "Most vulnerabilities should be resolved in 30 days".

One requirement that Mozilla mentions in their blog post: "Not sync any state (including cookies) between the Alternative Web Browser Engine App (EU) and any other app, even another app of the same developer, unless the user has explicitly given permission for state to be synced, either by signing into both the Alternative Web Browser Engine App (EU) and the other app, or through another mechanism of providing explicit permission"

mik1998 5 hours ago

Some of these requirements are so vague that anything can be rejected. E.g.

> Use memory-safe programming languages, or features that improve memory safety within other languages, within the alternative web browser engine at a minimum for all code that processes web content;

This doesn't seem like a reasonable requirement. Webkit probably doesn't satisfy it.

osckwocjoejcje 4 hours ago

If giving users control of whether they want things synced or not is one of the reasons Mozilla cites as a hurdle, then we’re better off as we are.

If privacy and user control are hurdles for you, then your software will not make its way onto my hardware.

lapcat 4 hours ago

I think you misunderstand the problem here:

1. The user already has WebKit Firefox installed on their iPhone, with bookmarks, passwords, history, etc.

2. Apple requires that the non-WebKit Firefox be a separate app, available only in the EU and Japan.

3. If the user wants to switch from WebKit Firefox to non-WebKit Firefox, the user loses their bookmarks, passwords, history, etc.

In contrast, when the WebKit Firefox simply releases an update in the App Store, the user data is retained. Thus, Apple is making it extremely difficult for Firefox to switch from WebKit to non-WebKit.

In general, Apple does allow iOS apps by the same developer to share data, so this restriction for non-WebKit browsers is totally arbitrary. "App groups allow multiple apps produced by a single development team to access shared containers and keychain access groups, and communicate using interprocess communication (IPC)." https://developer.apple.com/documentation/bundleresources/en...

The way you phrase it, you make it sound like Mozilla doesn't care about privacy or user control. That's not the situation here. Also, I notice that your HN account was created less than a hour ago seemingly for the sole purpose of making this comment, which is strange.

nekusar 3 hours ago

Because Apple fraudulently claims to sell hardware, and still maintain indefinite control over their devices.

Because they maintain true ownership, they can and do dictate all terms of usage of their devices. And that means 'no unapproved browsers'.

They are better classified as indefinite rentals, and not 'sales'

zb3 3 hours ago

Because EU/Japan laws are not enforced, partially because the US president is a moron but also because US politicans are corrupt in general, so US won't help.

shmerl 37 minutes ago

There should be a better competition law enforcement so Apple couldn't get away with these shenanigans. They should be very heavily fined until they comply.

lostmsu 5 hours ago

Hm, perhaps antimonopoly branches of governments should fine companies for monopolistic behavior in other countries. Because clearly that behavior harms customers in their jurisdictions.

doe88 5 hours ago

Can't they provide a build through sideloading in an alternative app stores? I'm confused with what the technicals limitations of sideloading are and what Mozilla would preferably do.

Btw, i stand with Mozilla on the overall issue here, Firefox should be permitted as is, in the official app stores, unencumbered by any artificial limitations nor having to jump over arbitrary complicated hoops. I'd also add, it is a reason for why i still don't buy an iPad, because i'd like to have the same browser than on my desktop os, Firefox, and not a reduced version, ie. its full proper implementation.

Rohansi 5 hours ago

The limitations aren't technical. Apple does not want third party browsers on iOS so it is technically possible (in some regions, because they were forced to) but filled with hurdles to discourage anyone from trying.

terinjokes 5 hours ago

I was under the impression you still need the entitlement from Apple for JIT, even when you publish to alternative app stores. The only way to get that entitlement is to go through Apple's process here for EU and Japan (or tethered workarounds that may be closed at any time)

wffurr 4 hours ago

You can already install a Gecko-based browser with AltStore or another side-loading technique: https://github.com/minh-ton/reynard-browser

This isn't really meaningful for Mozilla, though.

geocar 4 hours ago

Listen I don't understand the issue: You don't even want an iPad, so why the fuck do you care?

I do want an iPad. I like the fact that I can visit my hospital and my bank's websites on it.

I think if Chrome or Firefox were possible to be installed, then the bank and the hospital would eventually target chrome-only, thinking it would save them time or money.

Can you understand, for your mere preference, you might literally cause me and people like me harm?

nsoam an hour ago

Most Apple haters online do not have or want to use Apple products. They just hate that the products exist and people use them willingly.

rpdillon 2 hours ago

It would be your bank or hospital causing you harm in this case. Not another user that wants to use a different browser.

doe88 4 hours ago

No, I want an iPad, mostly for its hw, but i even could accomodate myself with iOS/iPadOS, but Safari is not my browser, i don't like it and i use Firefox since Firefox 1.0 and don't plan to change. What i don't like is having an artificial limitation over the most important apps on any modern device: the browser.

geocar 4 hours ago

breakwaterlabs 15 minutes ago

Blaming fellow users for 1) the reality of network effects and 2) the laziness of the third parties that you patronize, is a strange approach.

rjh29 an hour ago

Your fear is completely irrational, no bank or hospital is going to target Chrome only on iOS because 99% of the user base will stick to the default of Safari. Or you will use their app. Or (oh no!) you might have to install Chrome for a few sites.

Your minor inconvenience is nothing compared to people who literally -cannot- use a decent ad blocker, can't customise their browser UX, cannot use WebUSB or Web MIDI or any of the other technologies that Apple refuses to implement because they want to protect App Store revenue.