Utils.setMIUISetStatusBarLightMode(Activity activity, boolean dark)方法中有崩溃。
在小米的某些机型(发现问题的都是红米)上拿不到这个类,导致崩溃,希望能够适配一下,谢谢。
hello, Crash原因是FlutterBoost.instance().platform().isDebug()为true时, Debuger.exception(t)将抛RuntimeException。 建议开发者解决方案:1.初始化时Platform.isDebug返回true。 (线上应该都为true,所以线上无问题)。 社区解决思路: Debuger.exception(t)后续将提供safemode模式,只打印log,不Crash
hello, Crash原因是FlutterBoost.instance().platform().isDebug()为true时, Debuger.exception(t)将抛RuntimeException。 建议开发者解决方案:1.初始化时Platform.isDebug返回true。 (线上应该都为true,所以线上无问题)。 社区解决思路: Debuger.exception(t)后续将提供safemode模式,只打印log,不Crash
cc @noborder
@cedear 已PR完成上述 Debugger改造, issue即将close https://github.com/alibaba/flutter_boost/pull/627