mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-13 03:49:52 +08:00
Summary: Added a new API `YGNodeSetLayoutStyleInputs` to pass layout style inputs from java to native code. All the style inputs are passed in a float array in [key1, key2, value2, key3, value3a, value3b .....] format over JNI layer. There are three types of style inputs - do not need any value to be passed along with them like WidthAuto, HeightAuto - need one value to be passed like Width, Height - need two values to be passed like Margin, Padding (edge value and actual margin, padding value) Reviewed By: davidaurelio Differential Revision: D14166948 fbshipit-source-id: 4bea64d6a429959c3962c87e337914dcd99199fd
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.