fix(iOS): remove deprecated method from RCTPerfMonitor & fix position#43058
fix(iOS): remove deprecated method from RCTPerfMonitor & fix position#43058krozniata wants to merge 2 commits into
Conversation
|
@cipolleschi Could you take a look? 👀 |
cipolleschi
left a comment
There was a problem hiding this comment.
Hi @krozniata, thank you so much for this contribution and for your patience!
|
Could you perhaps rebase and fix the conflict? 🙏 |
70196c6 to
a585862
Compare
|
@cipolleschi done 👌 |
|
@cipolleschi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
|
Hi there! To set expectations, there are some internal tests that are failing, and I need to understand what's going on. I hope that this won't cause any issue! |
|
@cipolleschi merged this pull request in 258f41a. |
|
This pull request was successfully merged by @krozniata in 258f41a. When will my fix make it into a release? | How to file a pick request? |
Summary:
This PR removes usage of deprecated
statusBarFramemethod inRCTPerfMonitor. InsteadRCTPerfMonitornow usessafeAreaInsetswhich also fixes issue causing Perf Monitor to appear under corner in landscape mode on e.g.iPhone 15 Pro. It also fixes initial position of expanded state which was causing it to render under notch.Also removed duplicate background color setting
Changelog:
[IOS] [REMOVED] - Remove usage of deprecated statusBarFrame method
[IOS] [FIXED] - Fix position of RCTPerfMonitor in landscape mode & expanded mode
Test Plan:
RNTesterbuilds and runs successfully,RCTPerfMonitorworks and displays correctly