Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix RCTPerfMonitor not showing up in scene based app (#43476)
Summary: Currently RCTPerfMonitor won't show up in scene based app, we should first try to extract the window from the connected scenes, and fallback to the window in `UIApplicationDelegate`. ## Changelog: <!-- Help reviewers and the release process by writing your own changelog entry. Pick one each for the category and type tags: [ANDROID|GENERAL|IOS|INTERNAL] [BREAKING|ADDED|CHANGED|DEPRECATED|REMOVED|FIXED|SECURITY] - Message For more details, see: https://reactnative.dev/contributing/changelogs-in-pull-requests --> [iOS] [Fixed] - Fix RCTPerfMonitor not showing up in scene based app Pull Request resolved: #43476 Test Plan: - Tested RCTPerfMonitor in app not using scenes; - Tested RCTPerfMonitor in app using scenes in iOS 13 & 14; - Tested RCTPerfMonitor in app using scenes in iOS 15+. Reviewed By: rshest Differential Revision: D57381551 Pulled By: javache fbshipit-source-id: fd6cce20c9a4ed41d7aae84751fc0c83391d0865
- Loading branch information