Отключить желтую коробку отреагировать нативно
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