cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sgrebnov <>
Subject [GitHub] cordova-plugin-inappbrowser pull request: InAppBrowser bugfixing o...
Date Thu, 28 Jan 2016 18:21:20 GMT
Github user sgrebnov commented on the pull request:
    setTimeout is required to support the following scenario. On ios, android and other platforms
functionality creates InAppBrowser on native side, so ln2 happens before webview is created
and events are triggered. As a quick fix on Windows I made open method async so that it works
(this is what docs recommend to use so we should support this). Since I made open async I
made async other methods so that their functionality is triggered after open.
    ln1: var ref  =
    ln2: ref.addEventListener('startload', function() {..})
    ln3: ref.close()
    PS. Thank you for the setImmediate tip - will update the code

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message