qonversion / react-native-sdk

React Native SDK for cross-platform in-app purchase and subscription infrastructure, revenue analytics, engagement automation, and integrations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question: Does Qonversion finish consumable purchases? If not, how would I do this?

kyle-ssg opened this issue · comments

I intend on using consumable purchases to give user access to a digital product, I can see brief mentions of consumable products but am quite unclear on how this works.

Does Qonversion have the ability to mark purchases as consumed (e.g. https://developer.apple.com/documentation/storekit/in-app_purchase/original_api_for_in-app_purchase/finishing_a_transaction) and whatever equivilent for Android?

As a side note I noticed this on iOS, perhaps the react-native client auto finishes purchases on iOS and Android?

qonversion/qonversion-ios-sdk#247

I think that might be fine, since we wouldn't need to validate receipts, i.e. if it's in the user's list of purchases (which I think comes back in Qonversion?) we can trust its integrity.

Hi, @kyle-ssg
Thanks for contacting us. Our SDK's finish transactions (for iOS) and consume/acknowledge purchases (for Android) if you are using our SDK in the Infrastructure mode. And you should finish/acknowledge/consume purchases by yourself if you use us in the Analytics mode.

Ok thanks, I think that means "SubscriptionManagement" mode, at least that's what the SDK calls the other option. Thanks!