3D WebView for Android: version comparison

There are two different versions of 3D WebView for Android, which use different browser engines internally:

The original 3D WebView for Android package is recommended for most Android development, because its native library size is much smaller and it supports more features, like transparent webviews. However, if you're developing for Oculus Go or Oculus Quest and need to support video or WebGL, then 3D WebView for Android with Gecko Engine is recommended instead. Or if you prefer, you can use both versions together in order to get the best of both worlds. A more detailed comparison of the two versions is provided below.

3D WebView for Android

  • Uses Android's built-in android.webkit.WebView package as its browser engine
  • Has a small storage footprint (< 2 MB), because the browser engine is built into the operating system instead of the library
  • Video and WebGL support:
    • Android ≥ 6: supports native video and WebGL
    • Android < 6: limited video support and no WebGL support
    • Oculus Quest and Go devices: limited video support and no WebGL support
  • Supports transparent webviews
  • Supports drag-and-drop interactions

3D WebView for Android with Gecko Engine

  • Uses Mozilla's Gecko Browser Engine for improved video and WebGL support
  • Has a large storage footprint (~164 MB), because the browser engine is embedded in the library instead of the operating system
  • Video and WebGL support:
    • Android ≥ 5: supports native video and WebGL
    • Oculus Quest and Go devices: supports native video and WebGL
  • Doesn't support transparent webviews
  • Supports dragging within a page to select text, but doesn't support drag-and-drop