suppress warning expo code example
Example 1: disable yellow box react native
console.disableYellowBox = true;
Example 2: hide warnings in expo app
console.disableYellowBox = true;
// add this is main component of react native application
console.disableYellowBox = true;
console.disableYellowBox = true;
// add this is main component of react native application