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:
parent
84e80eb781
commit
419652d4e9
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue