Question

When I was testing inapp purchase a question struck my mind.Here it goes like, Do clear data for Google play app ,all the in app purchase details got erased from the Google play app.So My question is,if user accidentally cleared the data then what happens to his previously purchased plans? Will android maintains the record of it some where else,so that it restores the stuff later point of time ?

Here is My use case.Let us say an app has subscription model.User opens and buys the subscription for say 7 days.So on 8th day he comes I should show him a purchase window,for that I need to query an information from play service.If user has already cleared the play service from where can I get SKU info ?

Was it helpful?

Solution

Google Play stores your purchase information on Google servers, linked to your Google Account. After you've re-authenticated with your Google Account, you can restore your previous purchases. Nothing special is really required from Android frameworks.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top