Reputation: 957
How to create a free (with admob advertisements) and paid (without advertisements) app in same project in android?
I have found a solution by creating the library project but in my case I have to remove only adviews from paid app. So is this the best way to create library project in my scenario? Or there is any other good way?
Upvotes: 0
Views: 313
Reputation: 54811
I have successfully done this before, and it can be used in conjunction with libraries to even better effect (less merging).
Assuming you use a SCM, I use SVN.
Just to make it clear, this is the SVN organisation:
trunk -Adverts -No Adverts (branch of Adverts) -Library (Can be shared by both)
Upvotes: 0
Reputation: 1007584
So is this the best way to create library project in my scenario?
Today, yes, because "remove only adviews" probably involves a fair amount of work:
Eventually, when the new Gradle-based build system is fully documented and ready for use, I think that there will be simpler solutions for this.
Upvotes: 1