I have just released my first app and would like to have a free version to it as well. I was wondering how should I manage my free version branch (in svn) so that it's easy to merge changes from full version? is it possible to just change package name in Manifest file? or do the package names have to be different in code? If so how could I Merge Changes easily?
Thanks, Jason
The Android Library Project is your friend here.
I use this in all my apps :
public static final boolean LITE_VERSION = true;
then use it to disable some features.
It's important to know that the java compiler will ignore any piece of code in a if (!LITE_VERSION) block if LITE_VERSION is set to true, so it can't be reverse engineered (you can test it with the "javap -c" command).
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