Skip to content

Instantly share code, notes, and snippets.

@ronnieotieno
Last active November 28, 2021 16:51
Show Gist options
  • Save ronnieotieno/e2b05f455a73ac371be56b9c7f2f8de5 to your computer and use it in GitHub Desktop.
Save ronnieotieno/e2b05f455a73ac371be56b9c7f2f8de5 to your computer and use it in GitHub Desktop.
android {
.....
flavorDimensions "appType" //Can be anything, just identifier
productFlavors {
Client {
dimension "appType"
applicationIdSuffix ".client" //Will be added to package name of the app, making the app unique
//More can be added like
versionCode 1
versionName "1.0"
}
Rider {
dimension "appType"
applicationIdSuffix ".rider" //As said above
//More can be added like
versionCode 1
versionName "1.0"
}
}
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment