How to check my billing product in the application is already purchased in the application by the user?

I need to check when the application starts and the In-App product is already bought by the user or not.

How to verify that a user is already buying an application product?

It also works when the application uninstalls and reinstalls the application, is this functionality provided by the android api or not?

can someone suggest to me which step follows this, so that the user does not purchase the product again, and we check it on the application side, and then provide some functions to the users in the application.

thanks

+7
source share
1 answer

First of all, you need a database to save orders. Secondly, when the user installs your application. You must release the RESTORE_TRANSACTIONS that the user purchased and paste the result into the local database. You can read more at this link. http://developer.android.com/guide/market/billing/billing_overview.html

find keyword RESTORE_TRANSACTIONS

+8
source

All Articles