mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-04 22:56:32 +08:00
Turned on old bridge for OSS
Summary: This should revert back to using old bridge by default until we fix gradle script to build new bridge for OSS correctly Closes https://github.com/facebook/react-native/pull/8539 Differential Revision: D3514263 Pulled By: bestander fbshipit-source-id: db9e0232b9bde27206814212dedc487c366e3511
This commit is contained in:
committed by
Facebook Github Bot 1
parent
f78e819f20
commit
1d86be3a6e
@@ -61,6 +61,7 @@ public abstract class ReactNativeHost {
|
||||
|
||||
protected ReactInstanceManager createReactInstanceManager() {
|
||||
ReactInstanceManager.Builder builder = ReactInstanceManager.builder()
|
||||
.setUseOldBridge(true)
|
||||
.setApplication(mApplication)
|
||||
.setJSMainModuleName(getJSMainModuleName())
|
||||
.setUseDeveloperSupport(getUseDeveloperSupport())
|
||||
|
||||
Reference in New Issue
Block a user