ApplicationUpdaterUI fails when renderMode is configured as gpu
Problem Description
Describe your problem in detail. Include the following information:
- Which AIR SDK did you use?
51.1.1.5
- Describe the affected environment: Android vs. iOS, all devices vs. just specific models.
Windows
- Can you reproduce it yourself, or did you get reports from other users? If so, how many users are affected (percentage)?
yes can be reproduced locally
Steps to Reproduce
Tell us how this issue can be reproduced. Seriously: if you want this issue to be fixed, this is the part you really need to get nailed.
Give us a minimal example:
_applicationUpdater = new ApplicationUpdaterUI();
_applicationUpdater.updateURL = "https://acme.com/foo/bar.xml";
_applicationUpdater.isCheckForUpdateVisible = true;
_applicationUpdater.addEventListener(UpdateEvent.INITIALIZED, updaterInitialized);
_applicationUpdater.addEventListener(StatusUpdateEvent.UPDATE_STATUS, updateStatusHandler);
_applicationUpdater.addEventListener(StatusUpdateErrorEvent.UPDATE_ERROR, updateStatusErrorHandler);
_applicationUpdater.addEventListener(ErrorEvent.ERROR, onError);
_applicationUpdater.initialize();
..
private function updateStatusErrorHandler(event:StatusUpdateErrorEvent):void {
print("Update failed: " + event.text);
}
[trace] Update failed: Unhandled exception Error: Error #1508: The value specified for argument renderMode is invalid.
Known Workarounds
remove or change the renderMode tag eg. cpu works fine, however this is problematic because of this bug https://github.com/airsdk/Adobe-Runtime-Support/issues/3527
Problem persists with 51.1.2.1
regression testing, problem predates 50.2.5.1, 50.1.1.2 , @ajwfrost I don't suppose there are any workarounds you can see to get it working with gpu?
tried all the way back to 33.1.1.935 maybe auto updater has never worked with <renderMode>gpu</renderMode>