react-native/ReactAndroid
Ram N 617e25d9b5 Explicitly make UIManagerModule use OnBatchComplete on Android
Summary:
Currently, we scan all native modules to see if they implement the OnBatchCompleteListerner. If they do, we add those modules to a list, and when C++ calls OnBactchComplete is called, we execute the callback on each of the modules.
The only native module implementing this callback today is the UIManagerModule. With Fabric, UIManager will also not be a native module anymore. This diff removes all the work done for creating the list and assumes that UIManagerModule is the only place that is interested in OnBatchComplete call - and calls it directly.

Reviewed By: achen1

Differential Revision: D9186651

fbshipit-source-id: 473586b37c2465ccd041985dcdd56132026f34f1
2018-08-08 14:18:07 -07:00
..
libs use android build-tools 26.0.2 and set compileSdk to 26 (#19662) 2018-06-13 10:39:55 -07:00
src Explicitly make UIManagerModule use OnBatchComplete on Android 2018-08-08 14:18:07 -07:00
.npmignore
DevExperience.md CHORE - Remove Trailing Spaces 2016-04-06 09:21:53 -07:00
README.md Fixing link to Android build guide. 2018-05-27 15:17:55 -07:00
build.gradle Bump imagepipeline-okhttp3 to 1.10.0 (#20580) 2018-08-08 14:02:26 -07:00
gradle.properties Bump imagepipeline-okhttp3 to 1.10.0 (#20580) 2018-08-08 14:02:26 -07:00
proguard-rules.pro remove fresco proguard rules 2018-05-14 11:18:05 -07:00
release.gradle Migrate Android sources to MIT license header 2018-05-31 15:37:30 -07:00

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.