mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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: https://github.com/facebook/react-native/pull/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