npmios95% confidence\u2191 220

How do you hide the warnings in React Native iOS simulator?

Full error message
I just upgraded my React Native and now the iOS simulator has a bunch of warnings. Besides fixing them, how do I hide these warnings so that I can see what's underneath?

Update: React Native 0.63+ console.disableYellowBox is removed and now you can use code below to ignore all log notifications. import { LogBox } from 'react-native'; LogBox.ignoreLogs(['Warning: ...']); // Ignore log notification by message LogBox.ignoreAllLogs();//Ignore all log notifications Old answer before React Native 0.63 According to React Native Documentation, you can hide warning messages by setting disableYellowBox to true like this: console.disableYellowBox = true;

API access

Get this solution programmatically \u2014 free, no authentication.

curl https://depscope.dev/api/error/8c6dd2ab80edf300c1e81973ca8b828cacdcb491a5b6c5ccca1dedb0a87ffb28
hash \u00b7 8c6dd2ab80edf300c1e81973ca8b828cacdcb491a5b6c5ccca1dedb0a87ffb28
How do you hide the warnings in React Native iOS simulator? — DepScope fix | DepScope