Introduction

What can UniWebView do

UniWebView is a Unity 3D plugin for adding a web view component to your Unity 3D mobile games on iOS and Android. It provides a set of abstract, cross-platforms, and high-level APIs in C#. That means you can implement your web view in your game without any knowledge of the underlying native platform.

It boosts your development process dramatically when you need to show an announcement or notice, add a leader board for player rankings, or display any interactive web pages to your users.

Feature List

Web Content Browsing

Interacting with Web Page

Other Tasks

And much more. Please check the full API Reference.

Supported Platforms

UniWebView v5 supports running on:

  • Unity 2020.1 or above
  • iOS 9.0 or above
  • Android 5.0 (API Level 21) or above

How It Works

UniWebView wraps the technology under the hood to render a general-purpose web view:

It also provides a "Safe Browsing" mode, to help you get a system-level experience of web content, which uses:

UniWebView supports the standard OAuth 2.0 with the Authorization Code Flowopen in new window, which is the most common way to use OAuth 2.0 in a client app:

UniWebView also contains Unity Editor support on macOS for debugging purposes. You can bring up a standalone web view directly in the Play Mode of Unity Editor if you are developing your Unity game on macOS.

WINDOWS EDITOR

If you are working on a Windows PC, you can still build and use UniWebView on mobile devices, but you cannot see the result directly in the Windows Unity Editor. UniWebView does not come with Unity Editor support on Windows.

MAC OS TARGET

UniWebView on macOS Editor is a full-featured variety of its iOS version. Although UniWebView is designed for mobile platforms, it does not prevent you from putting it into a standalone macOS game.

About Version 5

The start of the UniWebView project can be traced back to 2013. Until now, we shipped more than 120 versions to make sure the package works well with the latest technology. UniWebView version 5 is a huge step further. We worked even harder to bring more important features (like OAuth 2.0 support), rewrote the toolbar to extend it to Android, improved the performance on both platforms, and added a bunch of new features.

At the same time, we managed to keep the code compatibility for most of the APIs as they were in v4. That means upgrading from version 4 to version 5 is painless. For most of the projects, just reimport the new version and you can get all the new things immediately.

Already using UniWebView 4? Please take a look at the Version Highlight to see how it gets evolved from the previous versions. To upgrade to the latest version, take a brief look at the Migration Guide. We also recommend you read our documentation to bring the potential power of UniWebView to your project.

This documentation is for version 5. If you are still using v4, you can find its documentation on this siteopen in new window instead.

Next Step

If you are ready, follow the Installation and subsequent guides to know the basic usage of UniWebView.

Please feel free to browse this documentation site and UniWebView's APIs. You can find more information on UniWebView's official siteopen in new window too.