eggheadgames / android-in-app-payments

Support Android Google Play and Amazon in-app billing (IAP) payments with one API
MIT License
58 stars 14 forks source link

How to know a product is not owned ? #32

Open sloosh opened 4 years ago

sloosh commented 4 years ago

Hi, Your library seems great thanks for it, but is there a way to know a product is NOT owned ? We know only when is it owned with the onProductRestored or onSubscriptionRestored callback, but we don't know when it is not owned. A least a callback notifying when products or subscriptions lookup is finished would be great. Please tell me is there is a way to do something similar. Thanks !

mikemee commented 4 years ago

I don't know of a way in the underlying Google or Amazon API to determine this, sorry. I wish there was – then our apps wouldn't have to be so careful about keeping track :( (Plus, it's also a problem when a user gets a message "You've already purchased this" – but the API doesn't tell us. I have this problem right now with a Kindle customer :( )