Environments (Flavors) in Flutter with Codemagic CI/CD

Описание к видео Environments (Flavors) in Flutter with Codemagic CI/CD

📗 Learn from the written tutorial 👇👇
https://resocoder.com/env-flutter-cod...

✨ CI/CD tailored for your Flutter apps:
https://codemagic.io

📧 Get Flutter news 📰 and resources:
👉 http://flutter.education

👨‍💻 Do you write good code? Find out now!
https://resocoder.com/good-code-quiz

You are tweaking an app which is already in production. You are implementing code that allows a user to delete his data. All of a sudden, you realize that you made a huge mistake! By providing a wrong ID, you accidentally deleted data of an actual user!

Horror stories like this one can truly become a reality if you don't have separate production and development environments. Thankfully, it's very easy to set all of this up with Codemagic which is a CI/CD service dedicated specifically for Flutter apps.

Environments can be used for just about anything - from supplying a different Firebase config file, so that you won't accidentally delete production data from Firestore, to changing the UI and even logic based on the current app environment.

To keep this tutorial in a reasonable time-span, we won't deal with Firebase but we will instead create environments for a counter app! Yay 🎉 But seriously, have you never wanted to change the increment amount from 1 to 5 by reading a configuration JSON file? No? Well, now you'll see what you missed!

Go to my website for more information, code examples, and articles:
● https://resocoder.com

Follow me on social media:
●   / resocoder  
●   / resocoder  
●   / resocoder  

Комментарии

Информация по комментариям в разработке