Skip to content
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

A fix for the window disappearing immediately on iOS 13 #10

Merged
merged 2 commits into from
Nov 21, 2019

Conversation

rorygrandin
Copy link

This is a port of this pull request from the upstream repo. It's slightly modified, because some of the variables it referenced weren't present, and also having the call to makeKeyAndVisible conditional on the iOS version didn't work on iOS 13. It wouldn't show the window without it.

I've tested this on all three devices, iPad 2, and both iPad minis, which I believe covers iOS 10, 12, and 13. I'm not sure if we have an iOS 11 device.

Copy link

@davidfraser davidfraser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is good for now. We're leaving out some of the code in the original pull request to deal with hidden browser windows, which we're not using. We've tested the times when we're hiding the window and it works fine.

In the long run we should try and get our changes upstream and not live on the fork, but it's good for now

@davidfraser davidfraser merged commit d8ccc03 into j5int:master Nov 21, 2019
thomascube pushed a commit to thomascube/cordova-plugin-inappbrowser that referenced this pull request Jul 24, 2020
@ghost ghost mentioned this pull request Oct 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants