rwadurian/frontend/mining-app/lib
hailin bde7f0c53b fix(mining-app): 自动更新检查未触发 — 修复双重节流 + 添加调试日志
问题原因:
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>
2026-01-30 12:20:56 -08:00
..
core feat(p2p-transfer): 实现P2P划转手续费功能(全栈) 2026-01-30 06:44:19 -08:00
data feat(p2p-transfer): 实现P2P划转手续费功能(全栈) 2026-01-30 06:44:19 -08:00
domain feat(mining-app): 添加补发记录功能 2026-01-22 01:35:53 -08:00
presentation fix(mining-app): 自动更新检查未触发 — 修复双重节流 + 添加调试日志 2026-01-30 12:20:56 -08:00
main.dart feat: 集成 mining-app 升级和遥测功能,扩展 mobile-upgrade 支持多应用 2026-01-28 20:03:26 -08:00