mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Inits RootView to display size for the early surface start experiment. Before that experiment, we always had the view measured before the surface was initialized, but here layout can sometimes happen before measure. Surface defaults use [0; Inf) for size constraints, potentially causing a crash in Yoga. This change avoids that by making a guess on default layout size with `displayMetrics` Changelog: [Internal] Reviewed By: feedthejim Differential Revision: D33190397 fbshipit-source-id: 3b1b84135a4980ef2fde4024ec84a448199e00b8
Building React Native for Android
See the docs on the wiki.
Running tests
When you submit a pull request CircleCI will automatically run all tests. To run tests locally, see Testing.