When attempting to create a JavaScript “Function” object, the Adobe XD runtime issues an error stating “Code generation from strings disallowed for this context”.
We understand that Adobe prevents from this in order to make the plugin as save as possible, but in our case, we really need to run a small JavaScript code coming from an external JavaScript file, which is unknown at the time of the plugin publication.
How could we work this around, please?