How to consume an item
complete
U
Umid
Hello,
I'm implementing Adapty for Android
And I could not find documentation for consumable items
The standard flow is: buy item -> add "coins" -> consume item
After you consume item google play billing library will not return this item to you again
What is the flow to deal with them using Adapty ?
Currently I get old purchases along with new ones. How to mark an item as consumed and stop getting it?
Maybe I should use "isOneTime" field to handle it correctly, but I can not find documentation/example how to use it
Could you direct me to the documentation or an example?
Thank you
Adapty Support
complete
J
Jarvis
Did you find out how to consume the item?
U
Umid
Yes, Adapty fetches with the old purchases
But how to get new purchases only?
I need to process each consumable product only once
A
Adapty Support
What do you mean by getting the old purchases? If you add Adapty SDK to your app, basically, Adapty should fetch with the old purchases from the locally stored receipts
U
Umid
I did exactly as described in the link you posted
But the issue that I get my old purchases along with new ones
How should I identify new products/purchases ?
A
Adapty Support
Hi Umid,
Adapty supports both subscription and non-subscription products. You can read more about the products we support here: https://doc.adapty.io/docs/product