Discussions

Ask a Question
Back to All

syncPurchases and syncStoreKit2Purchases

iOS, StoreKit 2
Subscriptions only

How do I determine which version I'm using?

iOS, do I need to call this method after the purchase is completed?

I saw that iOS allows calling this method:syncStoreKit2Purchases


When do I call the following method?

Where are the parameters obtained?

Subscriptions & Consumables
In case you're using StoreKit Version 2 and selling Subscriptions and Consumables we recommend using one of these methods before finishing transactions:

Swift

await QonversionSwift.shared.syncStoreKit2Transactions()

await QonversionSwift.shared.handleTransaction(transaction)

await QonversionSwift.shared.handleTransactions(transactions)