Open Vanethos opened 4 years ago
@OldMetalmind @JorgeMiguelGomes
Will we have different backend versions? As in, will we debug the app in a development environment instead of doing it in production?
If we have just one environment, I'd say we can close this issue or postpone it for a future version
Description Create
prod
anddev
flavors for the appThe flavors will:
localhost
for DEV orhttps://api.vost.pt/v1
for PRODFile Location
Requirements
main
file for each flavor (dev beingmain_dev.dart
)main_common.dart
file where all the main logic for running the app is locatedConfig
object that is created by eachmain_x
file that is used to setup the base url and the flavordev
,prod
or any other flavor. If the flavor is production, no banner is shown