meck93 opened a new issue #925:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/925


   Hi everyone! I'm asking the question here since the link to sign up to 
Cordova Slack doesn't seem to work: http://slack.cordova.io and I couldn't find 
another way to sign up to the Slack channel. 
   
   **Question**
   The postMessage API has been implemented 
(https://github.com/apache/cordova-plugin-inappbrowser/pull/362) and is 
documented here: https://github.com/apache/cordova-plugin-inappbrowser
   
   So far I was only able to find documentation for the direction from inside 
the inAppBrowser window to the context running the inAppBrowser (i.e. inside -> 
outside). Is it also possible to send a message from the outside to the inside. 
Basically, in the same direction that `executeScript()` and `injectCSS()`work. 
   
   Currently, I'm launch the inAppBrowser, navigate to a specific URL which is 
also under my control on which I have registered an event handler 
`window.addEventListener("message",...)`. Now, I would like to post a message 
from the app code to the inAppBrowser instance (i.e. the browser window that is 
on this specific url) once a event happens on the native device. Is this 
possible?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to