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

fix(ios): Keyboard - Check if UIApplicationDelegate responds to window selector before calling it #1032

Merged
merged 1 commit into from
Jun 10, 2022

Conversation

Steven0351
Copy link
Contributor

When using the Keyboard plugin, a crash is occurring on iOS 15 when attempting to access a window property that doesn't exist:
Screen Shot 2022-06-10 at 12 01 41 AM

This PR adds a check make sure UIApplicationDelegate responds to the window selector before attempting to access it.

@Steven0351 Steven0351 changed the title fix(ios): Check if UIApplicationDelegate responds to window selector before calling it. fix(ios): Keyboard - Check if UIApplicationDelegate responds to window selector before calling it Jun 10, 2022
@Steven0351 Steven0351 merged commit 5be1466 into main Jun 10, 2022
@Steven0351 Steven0351 deleted the keyboard-crash-ios-15 branch June 10, 2022 16:10
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.

4 participants