3D WebView for Android and iOS (Web Browser)

Vuplex

(62)
$359
Publisher Vuplex
File size 10.56MB
Number of files 186
Latest version 4
Latest release date 2024-06-06 01:00:18
First release date 2019-01-07 10:06:11
Supported Unity versions 2018.4.2 or higher
Easily display and interact with web content in 3D or 2D using the web browser plugin trusted by over 1000 developers. See the developer site for full documentation.

🌐  Load a webpage from a URL or HTML string

📺  Watch videos and YouTube

<>  Create UIs with HTML

⚡️  Get started fast with the 3D WebViewPrefab or 2D CanvasWebViewPrefab, which render to a Texture2D and handle user interactions

📱  Includes a Native 2D Mode optimized for mobile

⌨️  Type with the included on-screen keyboard or native keyboard

• C# source code for a unified API that works seamlessly across Android, iOS, Windows, macOS, WebGL, and UWP / Hololens (each platform sold separately)

• Comprehensive APIs for controlling the browser and listening to browser events

• Powered by the Android System WebView and WKWebView

Execute JavaScript

Send messages from JavaScript to C# and vice versa

• View and create PDFs

• Integrate with OAuth

• Includes additional APIs for platform-specific features (Android, iOS)

• Supports transparent pages


Examples

• 3D WebView's included demo scenes:
    ◦ SimpleWebViewDemo
    ◦ CanvasWebViewDemo
    ◦ AdvancedWebViewDemo
    ◦ CanvasWorldSpaceDemo

Oculus example (Quest, Quest Pro, Rift)

XR Interaction Toolkit example

AR Foundation example

Cardboard example


System requirements

• Unity 2017.3 or newer

• Android 5+ (armv7, arm64, x86, x64), supports both OpenGL and Vulkan graphics

• iOS 10+, supports both Metal and OpenGL graphics

• Supports both Mono and IL2CPP

• Adds < 3 MB to the app's size


Important notes and limitations

• This package only supports Android and iOS. To support other platforms, you can install additional 3D WebView packages, and you can save money on multiple packages by buying a bundle. All of the 3D WebView packages work seamlessly together, so all you need to do is install them into the same project, and then 3D WebView automatically detects and uses the correct plugin at runtime and build time.

• 3D WebView's native Android and iOS plugins are provided as precompiled libraries, and the native source code for them is not provided.

• 3D WebView's native Android and iOS plugins can't run in the editor, so a mock webview implementation is used by default while running in the editor. However, you can actually load and render real web content in the editor by also installing 3D WebView for Windows and macOS into the project. You can save money by buying both packages together in a bundle.

• When not running in Native 2D Mode, the Android package has the following limitations:
    ◦ Vulkan support requires the VK_ANDROID_external_memory_android_hardware_buffer Vulkan extension and Unity 2020.2 or newer. For more details, please see this page.
    ◦ The browser's "fullscreen" feature is disabled.
    ◦ Scrollbars aren't rendered.
    ◦ Some HTML5 widget popups (like date picker inputs) aren't rendered. For more details, please see this page.

• When not running in Native 2D Mode, the iOS package has the following limitations:
    ◦ Some 3rd-party JS video widgets don't function as expected. For more details, please see this article.
    ◦ The web rendering frame rate is relatively slow (<15 FPS) due to iOS limitations. The exception to this is video, which is rendered at a high frame rate.
    ◦ Support for hover and drag interactions has limitations.
    ◦ WebGL content isn't rendered.
    ◦ Scrollbars aren't rendered.
    ◦ Some HTML5 widget popups (like date picker inputs) aren't rendered. For more details, please see this page.

• This package supports Universal Render Pipeline (URP), but WebViewPrefab doesn't currently support the "SRP Batcher" option on Android. So, when using URP on Android, you must either disable SRP Batcher in URP settings or use CanvasWebViewPrefab instead of WebViewPrefab.

• On Android, the browser engine can only play one video at a time and can't play multiple videos simultaneously (Android System WebView limitation).

• This package doesn't currently support the Magic Leap 2 AR headset. For Magic Leap 2 support, please use 3D WebView for Android with Gecko Engine instead.

• The Android and iOS plugins embed PDF.js from Mozilla, so you must display a copy of its included Apache 2.0 license in your Android and iOS apps' about page or credits.

Top Publisher Assets