flutter_bugly
flutter_bugly copied to clipboard
腾讯Bugly flutter应用更新统计及异常上报插件,支持Android、iOS
您好,您的bugly插件确实不错,不过在使用中,遇到了几个问题,一直没法解决,请您帮忙看一下啊,谢谢! 1.FlutterBugly.onCheckUpgrade.listen监听更新策略 使用该方法监听时,info一直返回null,除非把app删除后才能收到。 2.FlutterBugly.getUpgradeInfo 使用该方法确实能获取到info,但是该策略是上一次的更新策略,而非最新的。比如:当前bugly平台上上一个版本为1.0.1,最新版本为1.0.2.本地版本为1.0.0.此时获取到的是1.0.1的策略,无法获取最新策略。 3.FlutterBugly.checkUpgrade() 该方法始终会返回“当前已经是最新版本”,即使我的本地版本不是最新版本时,也会返回该文案。另外,我也尝试了多种方式,无法隐藏该文案。 请您抽空帮忙看一下哈,谢谢!
我看到既调用了reportExceptionWithCategory又调用了reportException,这两个有什么区别吗?为啥同时调用?
 这是一个官方确认的问题,表现为 android 12 设备点击升级无响应,并且可以看到 logcat ``` 09-23 09:29:57.369 5232 5232 W System.err: java.lang.IllegalArgumentException: com.example: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified...
private void postException(MethodCall call) { String message = ""; String detail = null; if (call.hasArgument("crash_message")) { message = call.argument("crash_message"); } if (call.hasArgument("crash_detail")) { detail = call.argument("crash_detail"); } if (TextUtils.isEmpty(detail)) return;...
出现如下报错时 ``` ════════ Exception caught by Flutter framework ════════════════════════════════════ The following assertion was thrown during runApp: Zone mismatch. The Flutter bindings were initialized in a different zone than is now...
Target of URI doesn't exist: 'package:flutter_bugly/flutter_bugly.dart'. (Documentation) Try creating the file referenced by the URI, or try using a URI for a file that does exist.