How to implement shouldAddStorePayment method in StoreKit 2?

Viewed 29

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
}
0 Answers
Related