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


Lightbend Announces Akka 3
15/11/2024

Lightbend, the company that developed Akka, has announced Akka 3, and has changed its name to Akka. The company produces cloud-native microservices frameworks, and Akka is used for building distribute [ ... ]



AI Propels Python To Top Language on GitHub
30/10/2024

This year's Octoverse Report reveals how AI is expanding on GitHub and that Python has now overtaken JavaScript as the most popular language on GitHub. The use of Jupyter Notebooks has also surged.


More News

espbook

 

Comments




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

 

 

<ASIN:1871962579>

<ASIN:1871962560>

<ASIN:1871962501>

<ASIN:1871962528>

 

 

Last Updated ( Wednesday, 03 July 2019 )