disable all warnings react native console code example
Example: hide warnings in expo app
console.disableYellowBox = true;
// add this is main component of react native application
console.disableYellowBox = true;
// add this is main component of react native application