mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
8b2e309479
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/53041 update `DisplayMetricsHolder.getWindowDisplayMetrics()` to `getScreenDisplayMetrics()`. Where window width and height is not needed, prefer to use `screenDisplayMetrics` as with upcoming diff `windowDisplayMetrics` initialization only happen using UiContext and have potential to cause more issues if used unnecessarily. Changelog: [Internal] Update `DisplayMetricsHolder.getWindowDisplayMetrics()` to use `.getScreenDisplayMetrics()` Reviewed By: mlord93 Differential Revision: D79571226 fbshipit-source-id: d90fca36c119318e7a2dfa6953fc2148b35e83d4
Building React Native for Android
See the Building from Source guide on the React Native website.
Running tests
When you submit a pull request, ci will automatically run all tests. To run tests locally, see Testing guide on the React Native website.