I have a requirement Android Product Flavors and Configuration help to maintain and support single code base to distribute multiple clients. I referred few links, It gives a basic idea. My question is actually Am I'm going correct direction. I very new to this kind scenario.
eg: Product name: MohanApp client 1: Cartoon, client 2: Disney, client 3: Pogo,
flavorDimensions "app", "server"
productFlavors {
cartoon {
dimension "app"
applicationId 'com.cc.whitelabel.cartoon'
manifestPlaceholders = [
appIcon: "@drawable/cartoon_network"
]
}
disney {
dimension "app"
applicationId 'com.cc.whitelabel.disney'
}
pogo {
dimension "app"
applicationId 'com.cc.whitelabel.pogo'
}
dev {
dimension "server"
}
staging {
dimension "server"
}
production {
dimension "server"
}
}
Thanks in Advance.