Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create in-app purchase to upgrade from free version to paid version android

I have two version of my app

  1. Paid Version
  2. Free Version

Now in free version I disabled some features that are available only in the paid version. So what i want is when user taps on any of those disabled features, the in-app purchase window should pop up and when the transaction completes the free version of the app should get replaced by the paid version.

Can you please tell me what would be the right way to do that.

like image 879
test Avatar asked Oct 22 '13 05:10

test


People also ask

How much does it cost to put an app on the Play Store?

How Much Does it Cost to Put an App on the Play Store? There is only a one-time fee of $25 which you pay when you publish your first application. After this, all the apps you publish on google app store for android are cost-free.

How does in-app purchase work on Android?

A consumable product is one in which a user can purchase repeatedly to get access to in-app content. For example, this could be purchasing currency in a game that'll run out in due time, and users can again purchase the consumable product to get currency, food, etc.


2 Answers

Free version to paid version scenario:

To understand why you should only go for in app billing inside free version

1) Upgrading free to paid Android apps without leaving two icons

2) Is it possible to replace an existing Android free app with its paid version

Both case scenario:

3) In app-billing implementation , buying paid app from free version

After all it is your choice to select the way as you want to develop app but according to what I suggest:

you should go for the first option that you should provide all feature in the free app version only and upgrade your feature after simple product in app flow.

Hope you clear the way for the further development flow in your app.

like image 175
Maulik Avatar answered Sep 21 '22 00:09

Maulik


You should not use two versions if you are using in-App billing. Just use free version and implement in-app purchase in it. When user click on disabled features just open the in-app flow. If user complete the in-app purchase, just unlocked the features with in your free version. You also need to store user information on your server if user uninstall or change his device you will know that this user has already purchased your app. here is the implementation of in-app purchase.

like image 26
Sunny Avatar answered Sep 22 '22 00:09

Sunny