application use API, and it has different versions. Thanks to multi flavor apps, we can have separate builds for each server, so any team member can always download correct files and start testing • We can offer version of application with no ads inside for premium users Why Multi Flavor Apps
//select the dimension of flavor dimension "version" //configure applicationId for app published to Play store applicationId "com.pcc.flavors.free" //Configure this flavor specific app name published in Play Store resValue "string", "flavored_app_name", "Free Great App" } paidVersion { dimension "version" applicationId "com.pcc.flavors.paid" resValue "string", "flavored_app_name", "Paid Great App" } } }
-t lib/main_dev.dart Run qa flavor : flutter run -t lib/main_qa.dart Run demo flavor : flutter run -t lib/main_demo.dart Run production flavor : flutter run -t lib/main_prod.dart