rigiddesign commented on issue #539: message event fires only once for same inAppBrowser window URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/539#issuecomment-603490950 > 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. Absolute legend. Thanks for sharing, that fixed it for me!
---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org