deshabilitar la caja amarilla react nativa
console.disableYellowBox = true;
Clear Cobra
console.disableYellowBox = true;
Included in React Native 0.63+
import { LogBox } from 'react-native';
LogBox.ignoreLogs(['Warning: ...']); // Ignore log notification by message
LogBox.ignoreAllLogs();//Ignore all log notifications