Doug
ย ยทย Founder at Reffo

Development and Production versions with Git

I have an app i'm ready to launch. Currently I push from FF >> Git which updates the FlutterFlow branch. Then I pull that into a staging branch and then finally into production.

I want to be able to work with a development version of my Firebase database, and then when I push to Git, use a production Firebase project.

Is there a way to push everything to Git and then create a new config file so that the environment variables are different? If there is any additional configuration or options to specify build variants (like the "flavors" in Flutter)?

Any suggestions?

  • I'm building to web only for the time being.

2