Adobe-Runtime-Support
Adobe-Runtime-Support copied to clipboard
[Feature Request] StageWebView::userAgent support
Feature Description
AIR should have ability to set up user agent for StageWebView.
It very useful for some cases, especially for retail kiosks and to display specific mobile/desktop versions of websites.
Earlier it was possible with HTMLLoader::userAgent but now HTMLLoader deprecated and removed so we have no workarounds anymore.
Related issue (not the same): https://github.com/airsdk/Adobe-Runtime-Support/issues/1494 https://github.com/airsdk/Adobe-Runtime-Support/issues/1493 https://github.com/airsdk/Adobe-Runtime-Support/issues/223 https://github.com/airsdk/Adobe-Runtime-Support/issues/214 https://github.com/airsdk/Adobe-Runtime-Support/issues/174
Known Workarounds
none
Right now it available for Windows using AIR 51.2 with userAgent parameter in StageWebView configuration object.
Thanks!
Hope to see it for other platforms. Especially for Android.
@ajwfrost, I think it should be properly documented here: https://airsdk.dev/reference/actionscript/3.0/flash/media/StageWebView.html#StageWebView()