I integrated inappPurchase code to my android application.its working fine but i need handle
purchase data because if user buy my products after he uninstalled,after some days he again installed in the senario no need to purchase again.For this purpose how to handle data
I integrated inappPurchase code to my android application.its working fine but i need handle
Share
Most of the data that you place is removed when user Uninstalls the file, so basically create a file or folder with details of his accounts in an encrypted format either on the phone or on the SD card (preferably use Phone storage)
but again if user does a factory reset on his phone then all information will be lost
So
Either create a web service and pass all the account information , you can use the Phones IMEI number to act as a unique ID or use login info for the user so you can identify him or her even if he or she changes her phone
or use Google’s GCM to target individual customers
EDIT
Ya restoring is there Android In-app billing RESTORE_TRANSACTION usage
but what if your not using in built, but are using paypal SDK or some other methods then we have such the above mentioned options