Reputation: 15552
I read many post on SOF about how to handle free and paid version of eclipse android projects. But can't find any post about the use of keystore approach for free/paid version.
The different of free and paid in my application is the Admob in one layout.xml.
Finally, i choose a safe way (in my opinion..)
Let's say my project name : ProjectX
I clone the sources via GIT to ProjectX_Free and ProjectX_Paid
Import 2 projects above to eclipse.
Do some pre-publish works.(enable ProGuard, disable debug etc)
Change the package name to com.company.ProjectX_Free and com.company.ProjectX_Paid.
Remove the admob code in paid version.
Eclipse will ask for create or use exist keystore to create APK.
So should i use same keystore for them?
What is the Pros and Cons?
Thanks you for help.
Upvotes: 0
Views: 574
Reputation: 15774
Please read the Signing Strategies section of the Signing Your Applications guide.
In general, the recommended strategy for all developers is to sign all of your applications with the same certificate, throughout the expected lifespan of your applications.
Upvotes: 1