I'm having some issues with StageWebView on a Windows 8 touch-screen desktop computers. On Windows, our app has been using the WebKit embedded in AIR. I've pointed the StageWebView to whatsmyuseragent.com, and as expected it shows "Mozilla/5.0 (Windows; U; en-US) AppleWebKit/533.19.4 (KHTML, like Gecko) AdobeAIR/16.0".
I am using Flex 4.14.0 and AIR 16.0.
I would like to try using the native/system-default web engine. The documentation for StageWebView is unclear on whether or not this is supported for Windows.
In the introduction to the documentation, it states:
On desktop computers (in the desktop and extended desktop profiles), the StageWebView class uses the system web control provided by the Flash Player plugin.
But the documentation for the useNative:Boolean parameter for the StageWebView constructor states:
useNative:Boolean
(default = false
)— When useNative is false, a version of WebKit embedded within AIR is used as the source of the StageWebView created. When useNative is true, then AIR will use the the system's default web engine. Mobile platforms only support using the system web engine, so useNative is ignored on mobile platforms.
This last sentence seems to imply that non-mobile platforms would support useNative.
However, I can't seem to get useNative to work. I've changed our code to use newStageWebView(true); however, when I point ti to whatsmyuseragent.com, it still shows "Mozilla/5.0 (Windows; U; en-US) AppleWebKit/533.19.4 (KHTML, like Gecko) AdobeAIR/16.0". It doesn't seem to matter what I set my default browser to.
Is there a fix for this?
Thanks