mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
LogBox fixes for OSS
Summary: This diff fixes two issues with LogBox in OSS. Changelog: [Internal] Reviewed By: mmmulani Differential Revision: D19165696 fbshipit-source-id: 4dd9c480ea3d2b205f8e65cb32203949b1e32e8a
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -74,11 +74,12 @@ if (__DEV__) {
|
||||
}
|
||||
|
||||
static install(): void {
|
||||
_isInstalled = true;
|
||||
if (_isLogBoxEnabled) {
|
||||
LogBox.install();
|
||||
return;
|
||||
}
|
||||
_isInstalled = true;
|
||||
|
||||
errorImpl = function(...args) {
|
||||
registerError(...args);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user