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);
|
||||
} else {
|
||||
mPackages.add(new BridgeCorePackage(this, mBackBtnHandler));
|
||||
if (!useOnlyDefaultPackages) {
|
||||
if (mUseDeveloperSupport) {
|
||||
mPackages.add(new DebugCorePackage());
|
||||
}
|
||||
if (!useOnlyDefaultPackages) {
|
||||
mPackages.add(
|
||||
new ReactNativeCorePackage(
|
||||
this,
|
||||
|
|
Loading…
Reference in New Issue