我知道console.disableYellowBox = true可能是答案。但是我想用我的所有控件禁止它,因为我的应用程序有多个程序包,并且我不想在每个程序包中都使用console.disableYellowBox = true。
有什么方法可以通过在摇杆中设置配置来实现?