Flavoring Flutter Applications (Android & iOS)
Target Audience: Beginner
Recipe: Publish Flutter application on Android and iOS platforms for development(dev) and production (prod) environments.
Check out the companion video tutorial:
In this article, I will give an overview of the process of publishing Flutter applications on Android and iOS platforms in multiple environments. In the real-world applications development process, there are multiple environments and/or stages an application is released in. During the development stage, you may want to share your app with internal testers with a backend configured for development but not ready for production purposes. If you want to distribute your app to internal testers, you need a dev
variant for the application.
When you are ready to roll-out the application for public release and have the production backend ready, you need a variant of the same app which is connected to the production backend. Let’s call this variant of the app as prod
flavor.