These methods are in their
SDK.js is loaded through an
external-dom-script dependency. However, there are methods that do not have anything to do with the DOM, which have properties that are only compared or parsed, hence synchronous.
The issue is that I don't know a way for the
instance.js to communicate synchronously. For instance, a condition called
Is Connected or an expression called
I could call
PostToRuntime() every time the properties inside a method changes and recreate the methods inside the
instance.js. However, most of the methods in the SDK are convolutedly hardcoded, there are no specific target where changes can be listened to, it would need an entire rewrite of the SDK, and that's not practical since the SDK will always be rewritten for every new version.
I managed to workaround some simple SDKs like PlayFab. Although, SDKs or libraries like Photon can't seem to support it.
Kindly advise. Thank you.