xcode simulator don't show warnings code example
Example: remove yellow warning react native emulator
console.disableYellowBox = true;
//add it anywhere in any page to disable warnings in emulator
console.disableYellowBox = true;
//add it anywhere in any page to disable warnings in emulator