The GeckoView Alternative To WebView
Written by Ian Elliot   
Wednesday, 03 July 2019

If you have used WebView in any of your Android projects, you might know that it has some limitations. Now you have a choice as GeckoView can do everything it can and more.

geckoview

GeckoView is the rendering engine inside the latest Firefox for Android browser - poorly named as Firefox Preview. In fact, Preview is a combination of GeckoView and Mozilla Android Components.

If you think of GeckoView as the rendering engine and all of the other  internals a browser needs, then Android Component is the UI. In fact, Mozilla is suggesting that you can make your own browser using GeckoView and your own selection of components. It also has released something called "Reference Browser" which you can use as a starting point for your own browser and somewhere for Mozilla to test its own development ideas.

firefoxpreview2

End users are now faced with a choice of the original Android Firefox called Fennec, which isn't GeckoView-based. but does use it for some things and Firefox Focus, a privacy enhancing browser which does use GeckoView. Mozilla is going to have to make this simpler. My guess is that Focus and Fennec will eventually disapear. Mozilla has already announced a feature freeze on Focus. 

firefoxpreview

While there are some advantages to Firefox Preview, its 20% faster load times, for example, the most important aspect is that Mozilla has provided a different way of creating web based apps. To quote:

  • Full-featured: GeckoView is designed to expose the entire power of the Web to applications, and all that through a straightforward API. Think of it as harnessing the full power of Gecko (the engine that powers Firefox), while its API is WebView-like and easy to use.
  • Suited for apps and browsers: GeckoView is particularly suited for building mobile browsers, but it can be embedded as a web engine component in any kind of app.
  • Self-Contained: Because GeckoView is a standalone library that you bundle with your application, you can be confident that the code you test is the code that will actually run.
  • Standards Compliant: Like Firefox, GeckoView offers excellent support for modern Web standards.

GeckoView is based on the original Gecko but it has been repackaged as a more modular Android app. Mozilla seems to be serious about continuing the development of GeckoView but, with Chrome installed by default, it seems unlikely that Firefox will ever take a substantial share of the Android browser market. Most end users are too lazy and uninterested to go to the trouble of trying another browser.

It also seems likely that GeckoView has a better chance as a better WebView. Mozilla has a difficult task of covering such a wide area of application with comparatively limited resources.

Let us hope that this isn't another failed project in the making.

geckoview

More Information

GeckoView in 2019

Welcome to GeckoView

Related Articles

Firefox Premium Coming This Fall

Why Mozilla Matters 

The Perils Of Mozilla

Microsoft To Go Chromium Update: Confirmed

Mozilla Turns Twenty Years Old

Mozilla Privacy Study Vindicates Tracking Protection

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

 

Banner


Apache Lucene Adds Similarity Vector Searches
27/02/2024

Apache Lucene 9.10 has been released with support for similarity-based vector searches. Other improvements include block join compatible index sorting, and several improvements to ensure the software  [ ... ]



Chainguard Joins Docker Verified Publisher Program
15/03/2024

Chainguard has joined the Docker Verified Publisher (DVP) program, meaning its Chainguard Developer Images are now officially available on Docker's container image registry.


More News

raspberry pi books

 

Comments




or email your comment to: comments@i-programmer.info

 

 

<ASIN:1871962579>

<ASIN:1871962560>

<ASIN:1871962501>

<ASIN:1871962528>

 

 

Last Updated ( Wednesday, 03 July 2019 )