Hacker News new | past | comments | ask | show | jobs | submit login

>One advantage of using GeckoView in your app instead of WebView is that you know exactly which Gecko engine version and features are available; you don't have to support old random WebView versions across different Android devices and OS versions.

Is this similar to how each Electron app uses a bundled version of Chromium (which takes up disk space), as opposed to web apps which have to run in whatever Chrome version (or other browser) the user has installed?

Firefox Focus on Android is quite a large app (132MB installed on my phone), even though on my phone, it uses either Chrome or WebView (bundled Gecko is disabled).




> Is this similar to how each Electron app uses a bundled version of Chromium (which takes up disk space),

At the moment, yes. In Android 10, Chrome and WebView are sharing common code (a feature Google calls "Trichrome"), even though they are separate downloads, so perhaps there is a way for GeckoView apps to share one GeckoView in the future.

https://www.xda-developers.com/google-chrome-no-longer-webvi...

> Firefox Focus on Android is quite a large app (132MB installed on my phone), even though on my phone, it uses either Chrome or WebView (bundled Gecko is disabled).

Some Firefox Focus users were still getting WebView as part of an A/B test comparing GeckoView to WebView. As of the latest release (Focus 8.0.23), everyone should be getting GeckoView.

The Firefox Focus APK (with GeckoView) download size is about 38MB, but the uncompressed footprint is larger.


>As of the latest release (Focus 8.0.23), everyone should be getting GeckoView.

Oh you're right.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: