기본 콘텐츠로 건너뛰기

WWebView - RELEASE NOTES

RELEASE NOTES - CHANGE LOG

All notable changes to this project will be documented in this file.


Version 1.3.4 : Sept 20, 2018

Bug fixes

  • Win32: Fixed a bug "Ctrl+C+V" not work.


Version 1.3.3 : Apr 8, 2018

New features
  • A new demo "Demo2D" added.

Bug fixes
  • WSA: Fixed a bug "SetHeaderField" not work.

Version 1.3.2 : Dec 22, 2017

Bug fixes
  • Following up Unity 2017.3.0
  • Fixed flickering when the 3D demo started.

Version 1.3.1 : Dec 20, 2017

New features
  • A new demo has been added to describe how to embed the webview in a 3D object.
  • Win32/WSA: Added SetHeaderField method.

Version 1.3.0 : Dec 4, 2017

New features
  • The new component "WWebView".
    > Supports Unity-friendly component class for the webview.
  • WSA: Downgrades plugin's SDK target version to 14393 from 15063.
    > The minimum version is still 10240.
  • WSA: Follow up for Unity 2017.2.0
    > UnityEngine.VR.VRSettings deprecated to UnityEngine.XR.XRSettings.
    > UnityEngine.WSA.Application.InvokeOnAppThread behaviour has been changed.
    > And, I don't know exactly but Unity's UWP modules seems to have changed a lot on 2017.2.0.
    > Because many codes that worked well in the past did not work on 2017.2.0.
    > so, I had to test a lot and fix the code. I think there may be some remaining parts to fix.
    > If you find some problems, Please let me know.
  • Win32: Added "SetSilent" interface
    > If you want to process the 401 login via windows security, just call "SetSilent(false)"
  • WSA: Added the HoloLensVR demo.
    > This is just an experimental stuff. It has been tested on HoloLens Emulator 10.0.14393.1358
    > so, It may not work correctly on "real" Hololens device or work well.
    > Please, install & run following app on your device first.
    https://www.microsoft.com/store/apps/9ndwhjc4td5b

Bug fixes
  • Win32: Fixed an issue where the "EnableContextMenu" function called before "Load" did not work properly.
  • WSA: Fixed a bug "SetUserAgent" does not work on "master" build.

Known Bugs
  • WebViewNavigationStartingEventArgs.Cancel does not work on Unity version 2017.2.0. The internal structure of UWP seems to have changed a lot on 2017.2.0. Unity has a mechanism called AppCallback to synchronize UI thread and Unity App thread.
    BTW, UnityEngine.WSA.Application.InvokeOnAppThread occasionally gets freezed. I don't know exactly why this method does not work. If it's a simple bug, Unity will be patched later.

Version 1.2.2 : Nov 3, 2017

New features
  • support UniWebView3 integration.
    > http://www.icodes.studio/2017/10/how-to-integrate-with-uniwebview3.html
  • support fixed position
    > SetFrame
    > SetPosition
    > SetSize
  • WSA: CleanCache
    > public static void CleanCookie(string name, string key);
  • WSA: Added ability to delete all cookies
    > eg. WWebViewPlugin.CleanCookie("", "");
  • WSA: SetCookie
    > public static void SetCookie(string url, string cookie)
Bug fixes
  • Win32: Fixed a bug that fixed size does not work.
  • Editor: Fixed a problem where WebView was displayed in the wrong place.
  • Editor: Fixed invalid focus when the webview hidden.
  • WSA: fixed an app block on demo scene while navigating.
  • Win32: fixed GetAlpha() function returns an incorrect value.
  • Win32: Fixed a problem where TAB & DELETE key did not work.

Version 1.2.1 : Oct 25, 2017

New features
  • Win32: You can set IE version to be used as webview. (11, 10, 9, 8 and 7 are supported)
    > WWebView is set to IE11 mode as default. You can also change this value by WWebViewWin32.Initialize function.
  • Win32+WSA: CanGoBack function has been added.
    > Gets a value indicating whether a previous page in navigation history is available, which allows the GoBack method to succeed.
  • Win32+WSA: CanGoForward function has been added.
    > Gets a value that indicates whether there is at least one entry in forward navigation history.
Bug fixes
  • Editor: Fixed following error.
    > GUI Window tried to begin rendering while something else had not finished rendering! Either you have a recursive OnGUI rendering, or the previous OnGUI did not clean up properly. Assertion failed on expression: 'device.IsInsideFrame()'
  • Editor: Fixed an issue where Webview closed when Unity tool window was closed.
  • Win32: Fixed an issue that couldn't get http session cookie.

Version 1.2.0 : Oct 14, 2017

New features
  • Editor(Windows x86, x64) supported
    > WebView is embedded and displayed on the Unity Player. However, embedded native windows are very inconvenient when we develop the unity games. so, In the editor mode, it will be displayed as a popup window.
  • Win32+WSA: GetActualWidth(Height)
    > Get the webview's width and height, as a value in device-independent units (1/96th inch per unit).
  • Win32+WSA: Overloaded the Init() and ChangeInsets() function to support fixed width and height.
  • Win32+WSA: Managing scrollbar
    > ShowScroll : Sets a value that indicates whether the scroll bars are turned on or off.
    > ShowScrollX : Affects only the horizontal scroll bar.
    > ShowScrollY : Affects only the vertical scroll bar.
Minor
  • Added an example to handle custom url scheme. See the ReceiveMessage function.
  • Added an example to load a local HTML file. See the NavigateLocalFile function.

Version 1.1.2 : Oct 3, 2017

New features
  • Win32: Capture & Render a content as a texture. (Direct3D9, Direct3D11, Direct3D12 and OpenGLCore are supported)
  • Win32: Transparency with alpha.
  • WSA: Capture & Render a content as a texture. (Direct3D11, Direct3D12 are supported)
  • WSA: Transparency with alpha.
Bug fixes
  • Win32: Fixed window resizing bug.
  • Win32: Fixed memory leak on CustomOleControlSite.cpp
Minor
  • Win32: Change plugin folder location to x86 and x64
  • Win32: Event callbacks are created and stored as class members. because it is likely to be released by GC.

Version 1.1.1 : Sept 9, 2017

New features
  • Win32: Managing Cookies.
Bug fixes
  • Win32: Statically binds C Runtime Library. (/MT)
    > VC++ Runtime Redistribution is no longer required. In fact, this is not a bug. In addition, Microsoft also recommends using dynamic dll binding. (/MD) However, it's not reasonable to assume that users of this plug-in are familiar with Windows distribution system. That's why I decided to use static C Runtime Library and, if you are a VC expert and want /MD, you can simply rebuild the plugin project and use it.

Version 1.1.0 : Aug 31, 2017

New features
  • Win32: Added Zoom in & out function.
  • Win32: Added UserAgent changing function.
  • Win32/WSA: Clearing cookies.
Bug fixes
  • WSA: Fixed navigation failure from local file.
  • WSA/Win32: Fixed a bug where the success / failure parameter was incorrect when calling OnLoadComplete in UniWebView support mode.

Version 1.0.0 : July 12, 2017

First release
  • Requires Unity 5.6.0 or higher. The native plugin was built with Visual Studio 2017. It has been tested in Unity 5.6.0f3 and 2017.1.0f3. Windows standalone(x86, x64) are supported. Windows 10 universal app(x86, x64, ARM) are supported.

댓글

이 블로그의 인기 게시물

Windows WebView Unity Plugin - WWebView

Asset Storehttps://www.assetstore.unity3d.com/#!/content/97395
Release Noteshttp://www.icodes.studio/2017/10/wwebview-release-notes.html

Let me introduce myself briefly. WWebView is an easy solution for integrating WebView to your windows games. You can set up a web view and embed web content in your game with less than 10 lines of code. There is also a clean and simple interface for you to interact between the game and webview. Above all, WWebView is designed to be very easy to integrate into UniWebView2.









How to integrate with UniWebview2http://www.icodes.studio/2017/10/how-to-integrate-with-uniwebview2.html

How to integrate with UniWebview3http://www.icodes.studio/2017/10/how-to-integrate-with-uniwebview3.html

Notice The native plugin was built with Visual Studio 2017.
It has been tested in Unity version 5.6.0f3, 2017.1.0f3, 2017.2.0f3 and 2017.3.0f3









Supported PlatformsEditor(Windows, x86, x64)Windows Standalone(x86, x64)Windows 10 Universal App(x86, x64, ARM)Windows 10 HoloLens(M…

How to integrate with UniWebView3

WWebView is a fully completed module by itself. However, if your game uses UniWebView3 for other platforms (eg. IOS, AOS), you can easily integrate UniWebView3 with the following simple steps.

This document was written based on UniWebView3 version 3.3.2 (Oct 09, 2017).

1. Install UniWebView3 If you import UniWebView3 package to your project, you can see the script files in the project panel as shown below. We will modify this script.

Of course, UniWebView3 is configured with script code that does not support Windows Unity Editor, Windows Standalone and Windows Store platform. That's why we need to modify the script files of UniWebView3.




2. Modify UniWebViewPlaceholder.cs Open the script file located in "/Assets/UniWebView/Interface/UniWebViewPlaceholder.cs" and modify directives as shown below.

#if !UNITY_EDITOR_OSX && !UNITY_STANDALONE_OSX && !UNITY_IOS && !UNITY_ANDROID && !UNITY_EDITOR_WIN && !UNITY_STANDALONE_WIN && !UNIT…