I'm using StoreKit2 in a new iOS app to handle in-app subscription purchases. I'd like to support redemption of Offer Codes in the app, but I'm not seeing how to do that with StoreKit2.
Is there a StoreKit2 equivalent to original StoreKit's SKPaymentQueue.presentCodeRedemptionSheet()?
I'm not seeing anything in the docs that appears to handle Offer Codes specifically. While there is this:
static func promotionalOffer(offerID: String, keyID: String, nonce: UUID, signature: Data, timestamp: Int) -> Product.PurchaseOption
my understanding is that Promotional offers are a separate thing to Offer codes.
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?