Paid and free versions of the Android app

I am wondering what is the best way to have two different versions of an Android app. I would like to have a version of my app with ads and one without ads (paid). What's the easiest way to achieve this? I found something called flavors versions here , but since I'm new to Android development I'm not sure if this is what I want. Please, have any suggestions on how to fix this?

+3


source to share


2 answers


There may be two versions of the app in the Play Store. However, you'll have to maintain them separately, and it's frustrating to go from free to paid with this approach. If you choose this way to support your application, you will have two projects, one for each version. This will result in two copies of nearly identical source code.

One approach I have seen is that the free version also contains premium features that are unlocked once the user installs a paid unlock app from the store. However, this has the same result as the first option: you will need to support two applications (different this time though) and users will have to install additional software.



The best option is to include the premium version as an in-app purchase. The app will contain all premium features, but will be locked by default. Once a user pays for an in-app product (in this case a premium membership), they will unlock all features.

You can read more about billing in the app here .

+5


source


Why not just post two apps with a free:

MyApp

and paid like this:

MyApp(Paid)

...



And here's how to prepare them:

Get your app and add ads and then sign it and build apk. Post it.MyApp.apk

Then go back and cancel ads, change the package name, add Paid

to the name and then sign the apk.MyApp(Paid).apk

Then publish it.

+1


source







All Articles