3cae6fa950
Summary: Right now JS triggers a view manager command with the following code: ``` UIManager.dispatchViewManagerCommand( ReactNative.findNodeHandle(this), UIManager.getViewManagerConfig('RCTView').Commands.hotspotUpdate, [destX || 0, destY || 0], ); ``` As we want to get rid of calls to UIManager, we need to stop looking for the integer defined in native from JavaScript. We will be changing methods like this to be: ``` UIManager.dispatchViewManagerCommand( ReactNative.findNodeHandle(this), 'hotspotUpdate', [destX || 0, destY || 0], ); ``` We need to support ints and Strings to be backwards compatible, but ints will be deprecated. Reviewed By: shergin Differential Revision: D15955444 fbshipit-source-id: d1c488975ae03404f8f851a7035b58a90ed34163 |
||
---|---|---|
.. | ||
libs | ||
src | ||
.npmignore | ||
DevExperience.md | ||
README.md | ||
build.gradle | ||
gradle.properties | ||
proguard-rules.pro | ||
release.gradle |
README.md
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.