Skip to content
0:00 / 0:00

#flutter#codemagic#ci-cd

Environments (Flavors) in Flutter with Codemagic CI/CD

Reso Coder

114K subscribers • 36 videos on Hallway

YouTube
  • Recommended by 3 people: 3 in engineering communities.
  • A classic. People kept recommending it from 2020 to 2024.
  • May be out of date. The tools, versions or practices it shows have likely moved on.

Intermediate. Assumes working knowledge.

35K views6 years ago3 recommendations

Mobile developmentCloud and DevOpsFlutter and React NativeCI/CD and deployment

How to set up separate development and production environments in Flutter using flavors and Codemagic CI/CD.

📗 Learn from the written tutorial 👇👇 resocoder.com/env-flutter-codemagic ✨ CI/CD tailored for your Flutter apps: codemagic.io 📧 Get Flutter news 📰 and resources: 👉 flutter.education 👨‍💻 Do you write good code? Find out now! 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: ● resocoder.com Follow me on social media: ● instagram.com/resocoder ● facebook.com/resocoder ● twitter.com/resocoder

Why it's here

3 people recommend this

What people say. Recommended as a good tutorial for setting up environments and CI/CD in Flutter.

u/MRresoMCin r/FlutterDev • Recommends

Environments (Flavors) in Flutter with Codemagic CI/CD

u/svejmandenin r/FlutterDev • Recommends

On “Tutorials for CI/CD testing?”

Resocoder has a quite good tutorial on this. link to this video

u/g0dzillaaaain r/FlutterDev • Recommends

On “Creating different iOS distributions”

This is a bit old but mostly works link to this video