mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-01 22:41:28 +08:00
Summary: If a folly::dynamic contains a double when a Java method is declared to take an int, getInt() will be called, and a C++ exception will be thrown. This change uses similar logic to NativeReadableMap.getInt() to convert a folly::dynamic double to a jint. This will still throw an exception if the JS value cannot be represented as a jint without loss. Reviewed By: fromcelticpark Differential Revision: D10209492 fbshipit-source-id: fd96416200c6b283ce5c8f8fa4c227ceb8f43054
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.