gcx/frontend/genex-mobile/lib
hailin 0c3ef3b598 fix(mobile): fix version check API and platform detection in both apps
genex-mobile/lib/core/updater/version_checker.dart
- platform 从写死 'android' 改为运行时检测 Platform.isIOS ? 'IOS' : 'ANDROID'

admin-app/lib/core/updater/version_checker.dart
- API 路径修正: /api/app/version/check → /api/v1/app/version/check
- 新增 app_type: 'ADMIN_APP'(原缺失,后端默认返回 GENEX_MOBILE 版本)
- platform 从写死 'android' 改为运行时检测
- 响应解析修正: 原逻辑把外层 {code,data} 当版本数据用,
  改为正确取 response.data['data'] 内层对象
- 新增 downloadUrl 相对路径修复(向下兼容旧记录)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-07 00:50:42 -08:00
..
app feat(auth): 支付宝 + Google + Apple 三方登录 2026-03-04 04:40:31 -08:00
core fix(mobile): fix version check API and platform detection in both apps 2026-03-07 00:50:42 -08:00
features fix: comprehensive API compatibility fixes across issuer/user/ai services and Flutter 2026-03-05 09:29:44 -08:00
shared/widgets feat(genex-mobile): Flutter 前端对接 SMS 认证 API 2026-02-23 19:23:25 -08:00
main.dart fix: 修复上传版本500错误 + 优化App冷启动通知请求 2026-03-06 08:48:09 -08:00