I am trying to post a message to an iFrame, which I have done successfully before.
The code is simply: $w(‘#htmlImageResize’).postMessage(image);
where $w… is the iFrame, and ‘image’ is an object with the message (the URL of an image to upload). This runs fine on Windows 10 and on an iPad, but it will not run on Android 9 on my Samsung phone, returning the message ‘postMessage is not a function’
I’d guess that this html element doesn’t exist on mobile mode.
On the editor, switch to mobile mode, and check if it is somewhere in the “Hidden Elements” (if it is there, add it to the page).