Make new bridge default in OSS
Reviewed By: bestander Differential Revision: D3553208 fbshipit-source-id: 35d466e87032618978230b118772e366ba1deea9
This commit is contained in:
parent
b1e49832ef
commit
c89c25f27d
|
@ -153,7 +153,6 @@ public class ReactAppTestActivity extends FragmentActivity implements
|
||||||
ReactInstanceManager.Builder builder =
|
ReactInstanceManager.Builder builder =
|
||||||
ReactTestHelper.getReactTestFactory().getReactInstanceManagerBuilder()
|
ReactTestHelper.getReactTestFactory().getReactInstanceManagerBuilder()
|
||||||
.setApplication(getApplication())
|
.setApplication(getApplication())
|
||||||
.setUseOldBridge(true)
|
|
||||||
.setBundleAssetName(bundleName)
|
.setBundleAssetName(bundleName)
|
||||||
// By not setting a JS module name, we force the bundle to be always loaded from
|
// By not setting a JS module name, we force the bundle to be always loaded from
|
||||||
// assets, not the devserver, even if dev mode is enabled (such as when testing redboxes).
|
// assets, not the devserver, even if dev mode is enabled (such as when testing redboxes).
|
||||||
|
|
|
@ -61,7 +61,6 @@ public abstract class ReactNativeHost {
|
||||||
|
|
||||||
protected ReactInstanceManager createReactInstanceManager() {
|
protected ReactInstanceManager createReactInstanceManager() {
|
||||||
ReactInstanceManager.Builder builder = ReactInstanceManager.builder()
|
ReactInstanceManager.Builder builder = ReactInstanceManager.builder()
|
||||||
.setUseOldBridge(true)
|
|
||||||
.setApplication(mApplication)
|
.setApplication(mApplication)
|
||||||
.setJSMainModuleName(getJSMainModuleName())
|
.setJSMainModuleName(getJSMainModuleName())
|
||||||
.setUseDeveloperSupport(getUseDeveloperSupport())
|
.setUseDeveloperSupport(getUseDeveloperSupport())
|
||||||
|
|
Loading…
Reference in New Issue