Promoting In-App Purchases in StoreKit, but I didn't find replacement in StoreKit 2
func paymentQueue(_ queue: SKPaymentQueue, shouldAddStorePayment payment: SKPayment, for product: SKProduct) -> Bool { return false }
Hi. Unfortunately promoted in-app purchases are not currently supported with StoreKit 2.
Check this post: https://developer.apple.com/forums/thread/706538?answerId=714432022#714432022