Skip to content

Instantly share code, notes, and snippets.

@chizoba
Last active February 2, 2019 11:28
Show Gist options
  • Select an option

  • Save chizoba/bb141bbe87d9dcb0c8dfebc02607d736 to your computer and use it in GitHub Desktop.

Select an option

Save chizoba/bb141bbe87d9dcb0c8dfebc02607d736 to your computer and use it in GitHub Desktop.
Having multiple APKs on a single device - SnippetB
<application
...
android:label="${app_name}"
...>
</application>
buildTypes {
release {
...
manifestPlaceholders = [app_name:"AppName"]
}
staging {
...
applicationIdSuffix ".staging"
manifestPlaceholders = [app_name:"AppNameStaging"]
}
debug {
...
applicationIdSuffix ".debug"
manifestPlaceholders = [app_name:"AppNameDebug"]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment