Post

Replies

Boosts

Views

Activity

StoreKit2 equivalent to SKPaymentQueue.presentCodeRedemptionSheet()
Does anyone know what the StoreKit2 equivalent to original StoreKit's SKPaymentQueue.presentCodeRedemptionSheet() is? I'm not seeing anything in the docs that appears to handle Offer Codes specifically. Yes, there's static func promotionalOffer(offerID: String, keyID: String, nonce: UUID, signature: Data, timestamp: Int) -> Product.PurchaseOption but promotional offers are a separate thing to Offer codes, I believe. Appreciate any pointers anyone has on how to allow in-app redemption of an Offer Code using StoreKit2. I'm assuming I should not include original StoreKit as well as StoreKit2 and call the older API, right?
0
0
762
Feb ’22
StoreKit2 equivalent to SKPaymentQueue.presentCodeRedemptionSheet()
Does anyone know what the StoreKit2 equivalent to original StoreKit's SKPaymentQueue.presentCodeRedemptionSheet() is? I'm not seeing anything in the docs that appears to handle Offer Codes specifically. Yes, there's static func promotionalOffer(offerID: String, keyID: String, nonce: UUID, signature: Data, timestamp: Int) -> Product.PurchaseOption but promotional offers are a separate thing to Offer codes, I believe. Appreciate any pointers anyone has on how to allow in-app redemption of an Offer Code using StoreKit2. I'm assuming I should not include original StoreKit as well as StoreKit2 and call the older API, right?
Replies
0
Boosts
0
Views
762
Activity
Feb ’22