Open esdebon opened 7 months ago
Hi
Just checking on this one: if you have a "BackWorker.swf" file that is an actual SWF file, containing ActionScript code (or even if not, unless you pre-process it, it will likely have a class initialiser generated in ActionScript) .. then, this is not allowed in iOS and the app will try to display a warning. I'm finding that the display of the warning is throwing an exception, although I don't know whether this is exactly the thing you're seeing. Are you able to get the IPS crash report and post that here so that we can check?
The better option is to load in the SWF dynamically from your external SWFs list, or just use the main SWF file and reuse that with an "if primordial then launch the worker and then continue, else do the worker stuff" construct. See the final option under https://help.adobe.com/en_US/as3/dev/WS2f73111e7a180bd0-5856a8af1390d64d08c-7fff.html
thanks
Worker doesn't seem to work with iOS ipa-test, ipa-debug, ipa-app-store and ipa-ad-hoc only with fast packaging interpreter the worker is functioning normally.
Tested with AIR 50.2.2.4.4 and AIR 50.2.2.4.5 even with the latest AIR 51.0.0.4 with macOS M2. There is no such issue with Android.
The log say:
Unsupported enumeration of UIWindowScene windows on non-main thread.
My code:
To test I created an empty "BackWorker.swf" file and I got the same result, it always happens when calling the start method.
Tested with AIR SDK 50.2.2.4.4 and 50.2.2.4.5
I test the AIR SDK 51.0.0.4 but get the same result
Sound that the problem is: [UIView setAnimationsEnabled:] and UIWindowScene windows on non-main thread