✨ This is a working Webview Texture for Android ✨
It also has been tested in VR ✅ and works well with both Google Cardboard SDK, Google Daydream SDK and GearVR.
It is very fast because unlike some plugins this is a GL texture and not a bitmap copy of the view.
This Webview will act like a standard texture, usage are limit-less:
Checkout a working demo: APK demo
I want to thank Oculus that open sourced a part of their SDK and it has been a great source of inspiration for me, also want to thank Felix Jones who help me to get things right.
This plugin require Android Kitkat 4.4 (API 19) or more.
⚠️ It has some limitations (but I’m working on it)
I am working to remove these limitations.
Tested with Google Daydream and Google Cardboard
other VR SDK could work but there is no guarantee.
You must have a Google VR Unity version (-GVRXX) or use the last Unity beta (5.6)
Your build parameters (found in Build Settings > Player Settings) should look like this:
The Webview will give you delegate messages for specific events:
you can parse these messages and handle it as you wish
Of course you can send touch event to the Webview, this will allow you to click links, scroll the view and much more.
➡️ A full working example is included.
Checkout the extension on the Unity Asset store
Ask your questions here: