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:
Konstantin Raev
2016-07-03 14:39:45 -07:00
committed by Facebook Github Bot 1
parent f78e819f20
commit 1d86be3a6e
3 changed files with 10 additions and 9 deletions

View File

@@ -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).