Environment configuration
Vantage uses--dart-define-from-file to inject credentials at build time. Your real keys stay out of source control.
.env.json:
| Device | Value |
|---|---|
| Android emulator | http://10.0.2.2:8000 |
| Physical device (USB/WiFi) | http://192.168.x.x:8000 (your machine’s LAN IP) |
| VPN/Tailscale | http://100.x.x.x:8000 |
| Production | https://api.yourdomain.com |
Run in development
Build release APK
Code generation
If you modify any@freezed models or add Riverpod providers with @riverpod: