Created
January 26, 2023 16:40
-
-
Save Thilagavathi1/f4ec2dfe6d4c65ae1c4db5b2565be641 to your computer and use it in GitHub Desktop.
Product flavours
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android { | |
productFlavors { | |
development { | |
minSdkVersion rootProject.ext.minSdkVersion | |
applicationId 'com.awesome.project.dev' | |
targetSdkVersion rootProject.ext.targetSdkVersion | |
resValue "string", "build_config_package", "com.myapp" | |
} | |
production { | |
minSdkVersion rootProject.ext.minSdkVersion | |
applicationId 'com.awesome.project' | |
targetSdkVersion rootProject.ext.targetSdkVersion | |
resValue "string", "build_config_package", "com.myapp" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment