diff --git a/Libraries/LogBox/Data/LogBoxData.js b/Libraries/LogBox/Data/LogBoxData.js index 1ee81e5a635..83e64356fac 100644 --- a/Libraries/LogBox/Data/LogBoxData.js +++ b/Libraries/LogBox/Data/LogBoxData.js @@ -74,7 +74,7 @@ let warningFilter: WarningFilter = function(format) { return { finalFormat: format, forceDialogImmediately: false, - suppressDialog_LEGACY: false, + suppressDialog_LEGACY: true, suppressCompletely: false, monitorEvent: 'unknown', monitorListVersion: 0, diff --git a/Libraries/YellowBox/YellowBox.js b/Libraries/YellowBox/YellowBox.js index fdf0ce6780a..c77aba67d79 100644 --- a/Libraries/YellowBox/YellowBox.js +++ b/Libraries/YellowBox/YellowBox.js @@ -74,11 +74,12 @@ if (__DEV__) { } static install(): void { - _isInstalled = true; if (_isLogBoxEnabled) { LogBox.install(); return; } + _isInstalled = true; + errorImpl = function(...args) { registerError(...args); };