Skip to content
Permalink
Browse files

Add flavors to Android project

  • Loading branch information...
orestesgaolin committed Jul 10, 2019
1 parent 469b42f commit cef5fbffea052c9c26f93aa4ab63d3434b0a44e1
Showing with 21 additions and 0 deletions.
  1. +21 −0 android/app/build.gradle
@@ -53,6 +53,27 @@ android {
signingConfig signingConfigs.debug
}
}

flavorDimensions "flavor-type"

productFlavors {
dev {
dimension "flavor-type"
applicationIdSuffix ".dev"
versionNameSuffix "-dev"
manifestPlaceholders = [appName: "Flavor DEV"]
}
tst {
dimension "flavor-type"
applicationIdSuffix ".test"
versionNameSuffix "-test"
manifestPlaceholders = [appName: "Flavor TST"]
}
prod {
dimension "flavor-type"
manifestPlaceholders = [appName: "Flavor"]
}
}
}

flutter {

0 comments on commit cef5fbf

Please sign in to comment.
You can’t perform that action at this time.