apache / apache/cordova-plugin-inappbrowser
postMessage doesn't work :Android
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 2.2k
- PR merge metrics
- No merged PRs in 30d
Description
# Bug Report
the event message do postMessage doesn't get the message. (in Android)
## Problem
I try the default version and version 2.0.2 and it's doesn't work.
I create new WebView (for example: google), with eventListener "message":

In the console of the new WebView i try to postMessage (with to way : [window.parent.postMessage , window.postMessage])

and i doesn't get the message in the first console .
Of course I tried too get the message with console.log...
thank's
Contributor guide
Research direction
No source file or test is named. Reproduce both postMessage calls in an Android InAppBrowser WebView, then trace the plugin's message-event handling; done means the receiving WebView logs the posted message on the affected versions and a regression test covers the behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java, javascript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100