mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-03 22:48:25 +08:00
Using shared bridge path for RN
Reviewed By: javache Differential Revision: D5002111 fbshipit-source-id: 86c2856145a6595823fd027145b050a6fba3d90d
This commit is contained in:
committed by
Facebook Github Bot
parent
a8a29a92a0
commit
6796abbe55
@@ -48,6 +48,7 @@ public class ReactInstanceManagerBuilder {
|
||||
protected boolean mUseSeparateUIBackgroundThread;
|
||||
protected int mMinNumShakes = 1;
|
||||
protected boolean mEnableSplitPackage;
|
||||
protected boolean mUseOnlyDefaultPackages;
|
||||
|
||||
/* package protected */ ReactInstanceManagerBuilder() {
|
||||
}
|
||||
@@ -219,6 +220,11 @@ public class ReactInstanceManagerBuilder {
|
||||
return this;
|
||||
}
|
||||
|
||||
public ReactInstanceManagerBuilder setUseOnlyDefaultPackages(boolean useOnlyDefaultPackages) {
|
||||
mUseOnlyDefaultPackages = useOnlyDefaultPackages;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Instantiates a new {@link ReactInstanceManager}.
|
||||
* Before calling {@code build}, the following must be called:
|
||||
@@ -269,6 +275,7 @@ public class ReactInstanceManagerBuilder {
|
||||
mSetupReactContextInBackground,
|
||||
mUseSeparateUIBackgroundThread,
|
||||
mMinNumShakes,
|
||||
mEnableSplitPackage);
|
||||
mEnableSplitPackage,
|
||||
mUseOnlyDefaultPackages);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user