Files
eryao/apps
ZL-Q a83001de0d feat(locale): 实现 App 启动时语言和时区自动设置
- 新增系统语言/时区读取工具函数
- SessionStore 扩展支持时区存储
- 启动流程自动检测并保存系统语言/时区
- 注册时传递语言/时区到后端
- 登录后从服务器同步语言/时区
2026-04-28 17:18:16 +08:00
..

eryao apps

Flutter client for 觅爻签问.

Debug startup with backend injection

This app supports injecting backend URL at startup (same pattern as social-app):

  • Dart read path: lib/core/config/env.dart
  • Injection key: BACKEND_URL

Direct command

flutter run --dart-define=BACKEND_URL=http://192.168.1.100:5775

Script command

./tool/run-dev.sh --backend-url http://192.168.1.100:5775

If BACKEND_URL is not provided, fallback is:

  • Android emulator: http://10.0.2.2:5775
  • Others: http://localhost:5775