简体   繁体   中英

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.

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM