tobiasBora
tobiasBora

Reputation: 2432

Android WebView: use firefox/gecko browser engine on Lineage OS

On Lineage OS (and maybe on any Android?), it is possible to change the default WebView render (which is set by default to AOSP Browser, the default android browser without GAPPS). When I install Chrome (even without GAPPS installed), I can change this default to Chrome in the Setting/Development (which is practical in my case as the default browser has some annoying bugs).

Is it possible to also use Firefox's engine instead of Browser/Chrome (I don't want to have chrome installed and rely on proprietary software)? Installing Firefox (Fennec on FDroid) is not enough.

Thanks!

Upvotes: 6

Views: 7728

Answers (2)

Luc
Luc

Reputation: 6026

This is not possible because GeckoView does not implement the WebView API according to one of the authors.

https://github.com/mozilla/geckoview/issues/167#issuecomment-902022285

Upvotes: 3

Martin Zeitler
Martin Zeitler

Reputation: 76799

Besides the common Chrome WebView, there's also Mozilla GeckoView.

The quick start shows how it can be added - and there's also an example app.

The down-side is, that geckoview-70.0.20191022130254.aar has 149.8 MB.

This would be it's API documentation and it's home on GitHub.

Upvotes: 2

Related Questions