Cordova and Many WebViews

Joe Bowser - jbowser@adobe.com

What is next for Cordova-Android?

Cordova-Android

Where Android goes, Cordova goes!

Apps here

And here

And here

And even here

What's new?

  • Customizable WebViews
  • Experiemental Feature

Default WebView?

We don't need a WebView

Third-Party WebViews

  • Crosswalk WebView (Intel/Google)
  • MozillaView (based on GeckoView)

Crosswalk

  • Project started by Intel using Chromium Source
  • Already implemented a fork of Apache Cordova using Crosswalk
  • Easily dropped into Cordova
  • Can be installed as a plugin

Demo

MozillaView

  • Important for Cordova to have Many Webviews
  • GeckoView can go places Crosswalk can't!
  • Choice is important to developers

MozillaView

How to make a WebView

  1. Find a WebView
  2. ????
  3. PROFIT

Lessons learned from GeckoView

  1. Get GeckoView embedding working as a Third-Party WebView
  2. Build a bridge
  3. Get mobilespec to pass
  4. PROFIT

Things left to do

  1. Get a bridge working on GeckoView
  2. Get MobileSpec passing on GeckoView
  3. Agree on how an API for more third party webviews
  4. Figure out how to release the Third Party WebViews

Availability:

  • Current Functionality exists in 4.0.x branch
  • Third Party WebViews exist on personal repositories

Thank You