[Free][Released] GPM WebView

1. What is GPM WebView?

Game Package Manager (abbreviated as GPM) is a Unity Free Asset launched on September 30, 2019 in Unity Asset Store with five-star reviews, and GPM WebView is one of the services included in GPM.

Latest Version 1.1.0 - Released 23 February 2021

Unity Asset Store | Documentation

2. Supported Features

3. Style

Supports both Popup and Fullscreen modes.

4. Navigation

Provides Back, Forward, Title, and Close functions.


5. ShowHtmlFile

Loads the HTML file from the Assets > StreamingAssets folder into the WebView.


6. ShowHtmlString

Loads the HTML string into the WebView.

7. Install

  1. Find and install Game Package Manager in Unity Asset Store.
  2. Select Menu > Tools > GPM > Manager.
  3. Select WebView in Game Package Manager window.
  4. Click the Install button at the top right.

8. Contact us

We hope GPM helps you even a little bit.
If you have any problems or requests for features, please contact us:

3 Likes

GPM WebView SDK for Unity Changelog

List of changes and fixes to the GPM WebView SDK for Unity.

Mar 12, 2021

GPM WebView v1.2.0

Added:

  • Configuration

  • isNavigationBarVisible : Sets the visibility of the navigation bar.

  • isClearCookie : Clear cookies

  • isClearCache : Clear cache


We hope GPM helps you even a little bit. :slight_smile:
If you have any problems or requests for features, please contact us:

2 Likes

Another Game Package Manager service LogViewer forum post is being prepared for publication. We will deliver after posting.

2 Likes

One of the Game Package Manager services, LogViewer, has been opened on the forum.

2 Likes

Introducing other GPM services will be added after the Communicator Forum is posted.

1 Like

One of the Game Package Manager services, Communicator, has been opened on the forum.
https://forum.unity.com/threads/free-released-gpm-communicator-communication-between-unity-and-native.1089616/

1 Like

There was an inquiry about WebGL support. Currently, we do not support, but we will discuss to support.

1 Like

One of the Game Package Manager services, GPM UI, has been opened on the forum.

1 Like

Profiler has been released and a forum will be open. We will notify you when it opens.

2 Likes

This is undoubtedly the easiest and the most efficient Webview package on the Unity store and it is FREE! It took me 20 minutes with a little reading to set up the Android Gradle which was easy. I will write a review in the store today. Great app and thanks very much.

2 Likes

Added sizing and positioning capabilities to GPM WebView.

1 Like

Added Safe Browsing and Show API callback to GPM WebView.

1 Like

1.3.0
Date

  • 2021.07.31

Added

  • Configuration

  • navigationBarColor

  • supportMultipleWindows (Android only)

  • Assembly definition

GPM WebView 1.10.0 Released

Date

  • 2022.12.09

Added

  • Added ExecuteJavascript result callback (Issue 296)

  • Added JavaScript Injection feature (Discussion 297)

  • GpmWebViewRequest.Configuration.addJavascript

Updated

  • Updated Android custom scheme to save to specified value (Issue 288)

Fixed

Hello. Thanks a lot to the devs for this amazing plugin!
Is there a way to rotate webview? Main functionality of my app is in portrait mode but sometimes I need to enable landscape mode.

EDIT:
I’ve changed some code in NativeWebView.cs and now my AutoRotation works perfectly fine on android.(I need only for android)
However after I interact with a field for a “file input” autorotation stops working. Any advice what should I do?

1 Like

Hello. @hassgang .

We will check the section on file input or selection and automatic rotation.
If there is any additional information needed for development, please send it to us.
It is also good to register an issue on GPM for faster feedback.

Thank you.