gcx/frontend/genex-mobile
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
..
android fix(genex-mobile): WXEntryActivity 完整转发微信回调 Intent 2026-03-04 18:05:01 -08:00
assets/images fix(branding): 统一Logo色调与App主色调 #6C5CE7 2026-02-23 18:12:35 -08:00
ios feat(auth): 支付宝 + Google + Apple 三方登录 2026-03-04 04:40:31 -08:00
lib fix(mobile): fix version check API and platform detection in both apps 2026-03-07 00:50:42 -08:00
.gitignore feat(android): APK versionCode 自动递增 — 每次编译自增,各环境独立计数 2026-03-03 09:09:13 -08:00
.metadata feat: Create genex-mobile app with coupon lifecycle management redesign 2026-02-11 17:57:16 -08:00
README.md feat: Create genex-mobile app with coupon lifecycle management redesign 2026-02-11 17:57:16 -08:00
analysis_options.yaml feat: Create genex-mobile app with coupon lifecycle management redesign 2026-02-11 17:57:16 -08:00
pubspec.yaml feat(telemetry): 完整实现 presence-service 迁移 + Flutter 遥测接入 2026-03-05 23:33:13 -08:00

README.md

genex_consumer

A new Flutter project.

Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.