user1912383
user1912383

Reputation: 369

android paid and free app

Can one android application source code i.e. one package name be used for free and paid app with the only difference in the source to be a flag ? Like:

boolean APP_FREE = true;//for free verions
boolean APP_FREE = false;//non-for free verions

Thanks

Upvotes: 1

Views: 178

Answers (1)

kabuko
kabuko

Reputation: 36302

All you need is a different package name. You don't even need an arbitrary boolean flag. You must have a different package name though.

Upvotes: 6

Related Questions