Hi,
I am developing mobile app which integrate gree/webview. when I develop android platform web view work perfect and callfromJS can work. However, when I migrate project to ios unity process cannot receive following callfromjs event.
page url:
https://www.womo.com.tw/?unity_logout=1
javascript like this...
` const urlParams = new URLSearchParams(window.location.search);
if (urlParams.has('unity_logout')) {
unityLogout();
}
function unityLogout() {
var message = {
action: "log_out",
timestamp: new Date().toISOString()
};
var jsonString = JSON.stringify(message);
window.Unity.call(jsonString);
}`
I also try to use Safari and open web inspector to check about javascript log, but I cannot find webview app in develop tab. can you guide me how to check this?
Any information will be appreciated.
Andy