[InAppBrowserEvents] postMessage does not trigger the callback action
Question
inappbrowserevents
Mobile icon
Forge component by Rui Barbosa
Application Type
Mobile

postMessage js at web page (build on Outsystems Env.) does not trigger the InAppBrowserEvents messageCallBack action.

I did follow the example to check the cordova_iab is available and test with example's code.

But the the event block does not have any respond.

I've tried use window.webkit.messageHandlers.cordova_iab.postMessage(JSON.stringify(data)); but not work too.

No error show at web and mobile app. I'm pretty sure the web did call the postMessage function.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.