Move native modules into different packages for fb4a shared bundle

Reviewed By: javache

Differential Revision: D5536155

fbshipit-source-id: 4d4bb0415d3012f09e98e185a92a0e1f3fdbc474
This commit is contained in:
Kathy Gray 2017-08-14 06:50:35 -07:00 committed by Facebook Github Bot
parent 84e80eb781
commit 419652d4e9
1 changed files with 3 additions and 3 deletions

View File

@ -267,10 +267,10 @@ public class ReactInstanceManager {
mPackages.add(coreModulesPackage); mPackages.add(coreModulesPackage);
} else { } else {
mPackages.add(new BridgeCorePackage(this, mBackBtnHandler)); mPackages.add(new BridgeCorePackage(this, mBackBtnHandler));
if (mUseDeveloperSupport) {
mPackages.add(new DebugCorePackage());
}
if (!useOnlyDefaultPackages) { if (!useOnlyDefaultPackages) {
if (mUseDeveloperSupport) {
mPackages.add(new DebugCorePackage());
}
mPackages.add( mPackages.add(
new ReactNativeCorePackage( new ReactNativeCorePackage(
this, this,