Skip to content
This repository was archived by the owner on May 31, 2025. It is now read-only.

Conversation

@artistika-dev-team
Copy link
Contributor

Platform: iOS

With this commit React Native UI application window is set as key window after Unity initialization.

This solves the following issues:

  • After Unity is initialized, alerts not showing up because of "window not in hierarchy" error. The alerts are meant to be handled in RN window, but since Unity becomes the key window in the hierarchy, the error happens.

image_2020_08_14T10_35_31_187Z

  • Events like focusing keyboard which are supposed to be handled in RN are instead sent to Unity as key window which creates bugs

@artistika-dev-team
Copy link
Contributor Author

@asmadsen Can you please check this out?

@asmadsen asmadsen merged commit 3304062 into asmadsen:master Aug 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants