Hide warnings caused by React Native (#2202)

This commit is contained in:
Harrison Healey 2018-10-02 09:23:22 -04:00 committed by GitHub
parent b594d58572
commit 8a2049f2ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,6 +10,7 @@ import {
Keyboard,
NativeModules,
Platform,
YellowBox,
} from 'react-native';
const {StatusBarManager, MattermostShare, Initialization} = NativeModules;
@ -53,6 +54,9 @@ import './fetch_preconfig';
const AUTHENTICATION_TIMEOUT = 5 * 60 * 1000;
// Hide warnings caused by React Native (https://github.com/facebook/react-native/issues/20841)
YellowBox.ignoreWarnings(['Require cycle: node_modules/react-native/Libraries/Network/fetch.js']);
export const app = new App();
export const store = configureStore(initialState);
registerScreens(store, Provider);