Flavors and environments
Veldriq Field
Android flavors: development (.dev applicationId suffix, versionName suffix -dev) and production (id unchanged). Always pass --flavor. There is no demo flavor.
iOS: single Runner scheme; bind the origin with dart-defines the same way. No --flavor matrix.
Buyer dart-defines in V1:
| Define | Notes |
|---|---|
API_BASE_URL |
Origin only |
APP_ENV |
development (default) or production / prod |
APP_DISPLAY_NAME |
In-app title; default Veldriq Field |
Do not invent dart-defines for licences, Firebase, or Envato. Firebase uses buyer config files, not dart-defines.
Changing API_BASE_URL after a Play / TestFlight upload means a new build. There is no technician URL picker.
| Change | Rebuild? |
|---|---|
| Workspace logo / primary / accent | No |
API_BASE_URL / APP_ENV / APP_DISPLAY_NAME |
Yes |
applicationId / bundle id |
Yes |
| Android flavor | Yes — development and production cannot share the same installed id |
Related: API base URL · Android · iOS.