mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
1de206f36f
Summary: Scheduler.startSurface accepts LayoutConstraints and LayoutContext, but for some reason we don't use these on Android. This diff adds new methods to Binding and FabricUIManager to start a surface with the provided measurespecs. I created new methods to avoid affecting the functionality of any surfaces already using Fabric, but if we want this behavior everywhere then I can just add it to the existing `addRootView` and `startSurface`. Reviewed By: JoshuaGross, shergin Differential Revision: D15810990 fbshipit-source-id: 6cd9a58b125461f91253458905405298cfb723ce
Building React Native for Android
See the docs on the website.
Running tests
When you submit a pull request CircleCI will automatically run all tests. To run tests locally, see Testing.