Mosquito-Alert / Mosquito-Alert-Mobile-App

http://www.mosquitoalert.com
4 stars 3 forks source link

Generate environment specific configuration #81

Closed DigitalSeneca closed 9 months ago

DigitalSeneca commented 9 months ago

fixes #41

Description of changes

How to use

DigitalSeneca commented 9 months ago

I'd rather go for using prod as default instead of dev, just to avoid accidentally releasing new apps with dev configurations.

done

By the way, could you take a look at https://github.com/flutter/flutter/pull/128668 ? It seems from flutter 3.13 there is native support for .env files (see --dart-define-from-file)

I upgraded from flutter 3.0.0 to 3.13 to try it, but this upgrade generate errors in the code due to dependencies deprecations. So before being able to try this, some dependencies should be handled image