Files
eryao/apps/README.md
T

28 lines
563 B
Markdown

# 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
```bash
flutter run --dart-define=BACKEND_URL=http://192.168.1.100:5775
```
### Script command
```bash
./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`