Skip to content

fix(ios): workaround for Alert not showing - #1097

Merged
Tommy Nguyen (tido64) merged 1 commit into
trunkfrom
tido/workaround-alert-uiscene
Sep 12, 2022
Merged

fix(ios): workaround for Alert not showing#1097
Tommy Nguyen (tido64) merged 1 commit into
trunkfrom
tido/workaround-alert-uiscene

Conversation

@tido64

Copy link
Copy Markdown
Member

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 react/react-native#34562.

@tido64
Tommy Nguyen (tido64) merged commit 6181ea7 into trunk Sep 12, 2022
@tido64
Tommy Nguyen (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