Adobe-Runtime-Support icon indicating copy to clipboard operation
Adobe-Runtime-Support copied to clipboard

[Feature Request] StageWebView::userAgent support

Open itlancer opened this issue 3 years ago • 1 comments

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

itlancer avatar Apr 19 '22 11:04 itlancer

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()

itlancer avatar Apr 29 '25 12:04 itlancer