Send variable to ReactNative

Hi all,

I want to set one variable and that can we accessible from react native application which is showing play canvas HTML in webview.
Can I use window.variable?Can window variable accessible from react native application.

Please suggest.


You can the postMessage API, in the same manner it’s used to communicate from parent to an iframe.


Here are some links to get you started: