Dear all,
I am trying to implement promoted IAPs feature by using PurchasesDelegate. I have the latest iOS SDK installed.
Whenever I use the test link as described here: https://developer.apple.com/documentation/storekit/in-app_purchase/testing_promoted_in-app_purchases, nothing happens in the delegate method, and all I receive from the console is this:
gDaemon] ]SKPaymentQueue]: Tried to send purchase intent: pretty.ios.avatarai.monthly to delegate, delegate does not respond to method paymentQueue:shouldAddStorePayment:forProduct
Delegate method being used is:
func purchases(_ purchases: Purchases,
readyForPromotedProduct product: StoreProduct,
purchase startPurchase: @escaping StartPurchaseBlock) {
startPurchase { (transaction, info, cancelled, error) in
}
}
Can anyone give me a hint what I am doing wrong?
Implementation with previous versions of SDK were working, with old delegate methods.
Aleksandar