I’m trying to figure out if this an issue with Cocos or from the server-side but the setup are like this
window.addEventListener(‘message’,function(event) {
//do sth here
})
then somewhere I call
window.opener.postMessage(‘COMMAND’,’*’);
this works fine on every platform except on android (all three android devices that I have tested).
once after we have some certain XMLHttpRequest() with the server. at that point .postMessage or EventListener are no longer working.
is there any way to track (or log) that .postMessage was really sent? or is there any bug for android side that I need to know?