Closed okwasniewski closed 5 months ago
How does it correspond to https://github.com/callstack/react-native-visionos/issues/135?
How does it correspond to #135?
We need another solution, ideally something like WindowManager.currentWindows
(naming might be different). But we need to detect when windows are closed not only when their state is changed (because the state is the same for every window, we can't have one window in the background and one in the foreground).
This API was not useful because you can achieve the same thing with AppState (visionOS doesn't differentiate between focused windows as I thought it does).
It never got released so I'm reverting the implementation.