I have 3 editions of my android app. one free with ads, one paid and one branded with company CI.
so the difference betwenn them is minimal.
what is the best practice to manage multiple editions of this app.
if (editionA) { ... }
Using the Native Android Cloning FeatureSome Android devices offer native support for app cloning. It lets you run multiple copies of the same app without having to install any third-party tool. This feature is available on Samsung, Xiaomi, Oppo, and OnePlus phones, among others.
The package name is your App's unique identity on Google Play Store. All future versions of the App need to have same package name in order to manage updates. App with a different package name can only be published as a different app with different name on the Play Store.
Open Two Instances Of An App Using 2Accounts On Android Enter 2Accounts, that lets you do the exact same thing as the Parallel Space app. Grab the app from the official Google Play Store and install it on your device. Open the app, choose the app you'd like to run multiple instances of, and tap on Enable at the bottom.
It's possible to have multiple versions of Android Studio installed simultaneously. When we offer canary builds (or even beta builds) of the next version of the IDE, you may want to install the new version without replacing your existing stable install. respectively.
Update on the link and detailed description;
1. Library Modules
2. Setting up Library Project
I do something similar with my apps. Common code base, several different sets of resources. I have a python script that copies my generic source from a common location to the src directory, copies the res_project directories to the res directory, updates the package names to reflect the new application package and update the AndroidManifest with the appropriate values.
I felt like there should have been a better way to do this, since your resources are already nicely segregated from your source, but had problems with an application package name that differed from my src package name. I blogged about that process in detail here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With