You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/11/04 11:01:09 UTC

[GitHub] [cordova-plugin-inappbrowser] diesieben07 commented on issue #539: message event fires only once for same inAppBrowser window

diesieben07 commented on issue #539: message event fires only once for same inAppBrowser window
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/539#issuecomment-549305092
 
 
   I just ran into this as well.
   This happens because the plugin can only store _one_ reference to a cordova callback context. If you open something in the system browser, it overwrites this reference, even though no events will ever be fired for the system browser window.
   
   As a workaround you need to update your event subscriptions to the new object, returned from the call to open the _system window. This reference will fire the events for the still existing, initial, in app browser window.
   
   I hope this makes sense.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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