[AIR SDK 51.0.0.2] ReferenceError: Error #1069: Property declaration not found on builtin.as$0.MethodClosure and there is no default value.
Hi!
I've tested the new property declaration with a Function class instance, and it didn't worked.
Please view this video for more detail:
https://github.com/airsdk/Adobe-Runtime-Support/assets/6010183/fe998ab5-1f77-4852-8932-c57a1a7a96b7
Thanks!
@ylazy, try this fix https://github.com/airsdk/Adobe-Runtime-Support/issues/3084 and in asconfig.json file be sure you set up "swf-version": 51
@ylazy, try this fix #3084 and in
asconfig.jsonfile be sure you set up"swf-version": 51
Yeah I did follow your instruction to fix airsdk.xml. So you can see the correct airsdk in the bottom right:
Thanks!
For me declaration (and other AIR 51 features) works fine if you also set up "swf-version": 51 in asconfig.json in compilerOptions section.
For me
declaration(and other AIR 51 features) works fine if you also set up"swf-version": 51inasconfig.jsonincompilerOptionssection.
It worked. Thank you so much!
https://github.com/airsdk/Adobe-Runtime-Support/assets/6010183/d6821c2e-649d-4b17-8872-29768df8dc25
Thanks, so yes it looks like the automatic update of the SWF version didn't work. Will get this sorted out, the idea being there's a default value set in the air-config.xml file which should be used unless you override it. (But that doesn't work by itself unless we also update the compiler...)