-
Notifications
You must be signed in to change notification settings - Fork 714
Open
Description
I am building a multiplayer game for IOS and android and when everything is ready I send match data to webview
IEnumerator DelayRoutine()
{
yield return new WaitUntil(() => { return IsLoadingDone; }); // Wait for Webview Loading done
webViewObject.EvaluateJS($@"window.postMessage({data}); ");
matchStarted = true;
yield return new WaitForSeconds(1f);
WindowsManager.Get.ShowWindow<HudWindow>();
}
Thats the piece of code responsible for sending data to webview.
" webViewObject.EvaluateJS($@"window.postMessage({data}); ") "
this piece of code is working fine in Android, but its not working in IOS. I also have done this step " enableWKWebView: true ".
Appreciate you help in this regard. Thanks
Metadata
Metadata
Assignees
Labels
No labels