diff --git a/Libraries/JavaScriptAppEngine/Initialization/InitializeJavaScriptAppEngine.js b/Libraries/JavaScriptAppEngine/Initialization/InitializeJavaScriptAppEngine.js index dd4ab486d..917c786fa 100644 --- a/Libraries/JavaScriptAppEngine/Initialization/InitializeJavaScriptAppEngine.js +++ b/Libraries/JavaScriptAppEngine/Initialization/InitializeJavaScriptAppEngine.js @@ -50,7 +50,9 @@ function setUpConsole() { const ExceptionsManager = require('ExceptionsManager'); ExceptionsManager.installConsoleErrorReporter(); - require('RCTLog'); + if (__DEV__) { + require('RCTLog'); + } } /**