You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/12/21 17:14:40 UTC

[GitHub] [cordova-plugin-inappbrowser] meck93 opened a new issue #925: Question: postMessage API - device -> inAppBrowser window

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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] breautek commented on issue #925: Question: postMessage API - App -> inAppBrowser Window

Posted by GitBox <gi...@apache.org>.
breautek commented on issue #925:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/925#issuecomment-999232347


   > 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.
   
   Yah, I'm trying to track down who manages the app... in the mean time, this link should work for slack https://join.slack.com/t/cordova/shared_invite/zt-z70vy6tx-7VNulesO0Qz0Od9QV4tc1Q
   
   Unfortunately I don't have the experience to comment more on your particular issue, but someone in Slack might be able to.


-- 
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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] meck93 commented on issue #925: Question: postMessage API - App -> inAppBrowser Window

Posted by GitBox <gi...@apache.org>.
meck93 commented on issue #925:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/925#issuecomment-1071016185


   @mdivya-symplr no, unfortunately not, no one was able to answer my question. It seems the feature is not implemented.


-- 
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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] meck93 commented on issue #925: Question: postMessage API - App -> inAppBrowser Window

Posted by GitBox <gi...@apache.org>.
meck93 commented on issue #925:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/925#issuecomment-1071016185


   @mdivya-symplr no, unfortunately not, no one was able to answer my question. It seems the feature is not implemented.


-- 
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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] mdivya-symplr commented on issue #925: Question: postMessage API - App -> inAppBrowser Window

Posted by GitBox <gi...@apache.org>.
mdivya-symplr commented on issue #925:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/925#issuecomment-1070820622


   @meck93  Did you get any solution for this problem?


-- 
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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] mdivya-symplr commented on issue #925: Question: postMessage API - App -> inAppBrowser Window

Posted by GitBox <gi...@apache.org>.
mdivya-symplr commented on issue #925:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/925#issuecomment-1070820622


   @meck93  Did you get any solution for this problem?


-- 
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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] meck93 commented on issue #925: Question: postMessage API - App -> inAppBrowser Window

Posted by GitBox <gi...@apache.org>.
meck93 commented on issue #925:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/925#issuecomment-999568536


   @breautek thanks! I have asked in the Slack channel. Let's see!
   https://cordova.slack.com/archives/C068CHRJ5/p1640178856173200


-- 
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: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org