mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-02 17:47:21 +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
@@ -153,6 +153,7 @@ public class ReactAppTestActivity extends FragmentActivity implements
|
||||
ReactInstanceManager.Builder builder =
|
||||
ReactTestHelper.getReactTestFactory().getReactInstanceManagerBuilder()
|
||||
.setApplication(getApplication())
|
||||
.setUseOldBridge(true)
|
||||
.setBundleAssetName(bundleName)
|
||||
// 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).
|
||||
|
||||
Reference in New Issue
Block a user