问题原因: 1. checkForUpdate() 未传 force:true,被 UpdateService 内部的60分钟 SharedPreferences 间隔二次节流,导致实际请求被跳过 2. 缺少日志输出,无法诊断检查流程是否执行 修复: - checkForUpdate(force: true) 跳过内部60分钟限制, 因为 MainShell 已有自己的90-300秒随机冷却节流 - 在 initState / dispose / didChangeAppLifecycleState / _checkForUpdateIfNeeded 各关键节点添加 debugPrint 日志, 方便 flutter run 控制台追踪完整检查流程 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| kline_chart | ||
| main_shell.dart | ||
| qr_scanner_sheet.dart | ||
| shimmer_loading.dart | ||
| team_tree_widget.dart | ||