把下面代码添加在index.js中的AppRegistry.registerComponent()前面

console.ignoredYellowBox = ['Warning:BackAndroid is deprecated. Please use BackHandler instead.','source.uri should not be an empty string','Invalid props.style key'];

console.disableYellowBox = true		//关闭黄色警告
Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐