Is there a convention for maintaining both a free

2019-04-13 06:27发布

问题:

I am releasing two versions of an app--free and paid. The differences between the two are few, and I would like to release both using the same codebase (maybe a different constant defined for the other build?). Has anyone done this? Can someone point me in the right direction? Thanks!

回答1:

Use an Android library project, which was specifically designed for your free/paid scenario.