-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
InAppBrowser.isOpened does not seem reliable #105
Comments
(This is on Android simulator) |
It appears that for InAppBrowser, _isOpened is only set to true when a onBrowserCreated event is received; the browser never receives that event in the above code. I notice that for ChromeSafariBrowser, _isOpened is set to true at the end of the open() method; is this discrepancy intended? |
I think I see the underlying issue; I'm expecting the future of open() to resolve once the site is loaded, but it resolves as soon as the site starts opening, which is before onCreated is even called. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug and a minimal reproduction of the issue. |
Am I misunderstanding how this is supposed to work?
This assert will usually, but not always, fail, but a native browser to the specified website is opened. Is this expected?
The text was updated successfully, but these errors were encountered: