crazecoder / flutter_bugly

腾讯Bugly flutter应用更新统计及异常上报插件,支持Android、iOS
Other
600 stars 163 forks source link

一堆的bug啊 #48

Closed ikimiler closed 5 years ago

ikimiler commented 5 years ago
await FlutterBugly.init(
  autoCheckUpgrade: false,
  autoDownloadOnWifi: false,
  androidAppId: "c4888681a0",
  // iOSAppId: "c4888681a0",
);
await FlutterBugly.checkUpgrade(isManual: false, isSilence: true);
await FlutterBugly.checkUpgrade(isManual: false, isSilence: true);
await FlutterBugly.checkUpgrade(isManual: false, isSilence: true);
var info = await FlutterBugly.getUpgradeInfo();

很大几率info为空,做了延迟处理还是不行,是官方的问题还是你的问题啊?

Rejecting re-init on previously-failed class java.lang.Class: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/tencent/tinker/entry/DefaultApplicationLike;

各种错误,头疼

crazecoder commented 5 years ago

首先checkUpgrade是使用网络拉取数据,本地如果没有升级策略,在未完成网络拉取策略的时候去getUpgradeInfo必定会是null,后期会改成checkUpgrade直接返回网络策略。 另外报错,你即使用原生按照文档去集成也会出现,原因请加官方群问bugly官方

crazecoder commented 5 years ago

0.2.3