-
-
Notifications
You must be signed in to change notification settings - Fork 53
Edge WebView
Available from Version 1.7.0
The Windows Edge WebView utilises the Modern WebView WPF version. Please see Microsoft's known issues before opening an issue on the WebViewANE repo.
The main benefits are:
- support for AAC and H.264 codec
- smaller dependency footprint (single dll of ~150KB)
Microsoft are in the process of replacing WebView with WebView2 (currently in preview).
WebView2 will not, repeat not, use the user's Edge Chromium browser.
It will come in 2 flavours:
- Evergreen - Will use new WebView2 Runtime & Installer (due Q4 2020). It will be your responsibility to ensure your installer checks for and installs this separate runtime.
- Fixed - This will require packaging the CEF binaries with your app, in the same way CefSharp does.
More details are available on the Microsoft website.
You will need
- Windows 10 April 2018 Update
- PowerShell on Windows
- AIR 32
From the command line cd into /example-desktop-complete and run in PowerShell:
get_dependencies.ps1
-
C# and CefSharp binaries are now packaged inside the ANE. All previous versions of these need to be deleted from your AIRSDK if you upgrade to 2.5.0+.
-
FreSharp.ane is now a required dependency for Windows.
-
This ANE and CEF were built with MS Visual Studio 2015. As such your machine (and user's machines) will need to have Microsoft Visual C++ 2015 Redistributable (x86) runtime installed. https://www.microsoft.com/en-us/download/details.aspx?id=48145
-
This ANE also uses .NET 4.6.2 Framework. As such your machine (and user's machines) will need to have to have this (or greater) installed. https://support.microsoft.com/en-us/help/3151802/the-net-framework-4-6-2-web-installer-for-windows
-
If you only wish to use the Edge WebView and not the CefSharp Chromium version then you can download and use WebViewANE.Edge.ane from https://github.com/tuarua/WebViewANE/releases
It is highly recommended you package your app for release using an installer.
Please see the win_installer folder for an example Inno Setup project which handles .NET 4.6.2 and MSV2015 dependencies.
This work is licensed under Apache License, Copyright (c) 2018 Tua Rua Ltd.
Configuring the ANE
- Windows