Gate ReactNativeVersionCheck by __DEV__
Reviewed By: hramos Differential Revision: D6168567 fbshipit-source-id: 540dc11886d012f1d1a0f40211d408d3a56b40c5
This commit is contained in:
parent
95bf367981
commit
8ef28eaa2d
|
@ -126,8 +126,10 @@ if (!global.__fbDisableExceptionsManager) {
|
|||
}
|
||||
|
||||
// Check for compatibility between the JS and native code
|
||||
const ReactNativeVersionCheck = require('ReactNativeVersionCheck');
|
||||
ReactNativeVersionCheck.checkVersions();
|
||||
if (__DEV__) {
|
||||
const ReactNativeVersionCheck = require('ReactNativeVersionCheck');
|
||||
ReactNativeVersionCheck.checkVersions();
|
||||
}
|
||||
|
||||
// Set up Promise
|
||||
// The native Promise implementation throws the following error:
|
||||
|
|
Loading…
Reference in New Issue