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): workaround for Alert not showing #1097

Merged
merged 1 commit into from
Sep 12, 2022

Conversation

tido64
Copy link
Member

@tido64 tido64 commented Sep 7, 2022

Description

Alert does not display in our app. It looks like it is broken because core creates a separate UIWindow to present the alert from. In the UIScene world, this window is no longer attached by default, you have to explicitly attach it to a scene. I have an upstream PR to fix this, but we still need to swizzle things while we wait for that fix to land and get published.

Platforms affected

  • Android
  • iOS
  • macOS
  • Windows

Test plan

See the repro steps in facebook/react-native#34562.

@tido64 tido64 added the platform: iOS This affects iOS label Sep 7, 2022
@github-actions github-actions bot added the platform: macOS This affects macOS label Sep 7, 2022
@tido64 tido64 mentioned this pull request Sep 7, 2022
34 tasks
@tido64 tido64 merged commit 6181ea7 into trunk Sep 12, 2022
@tido64 tido64 deleted the tido/workaround-alert-uiscene branch September 12, 2022 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: iOS This affects iOS platform: macOS This affects macOS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants