breakline
breakline

Reputation: 6073

Android app product flavors and Google Play

I'm building an Android game and I'd like to have a free and paid version. I can add these just fine in my code, but the problems come when I have two different package names:

Do I need to have two of everything? Two apps on Google Play, two facebook apps, two Google Play Games with doubled all content (Achievements, Leaderboards)? Is there a way to have one app but an easy way to unlock a "pro" version? Maybe with in-app purchase?

What's the best way to do this? Seems like product flavors arent really flavors if Google Play treats them as separate apps...

Upvotes: 1

Views: 1078

Answers (1)

adjuremods
adjuremods

Reputation: 2998

If you're using Android Studio, I would suggest going through Build Variants wherein using Android Library Projects was also mentioned as an option if you will be creating same application.

Lastly, you may also check this SO post - Best way to have paid and free version of an Android app for few more options. Hope something fits what you've been looking for.

Happy coding!

Upvotes: 1

Related Questions