Commit 27a2b2d5 authored by Jose Blaya's avatar Jose Blaya
Browse files

Merge branch '163-add-skpaymenttransactionobserver-method' into 'release/2.2.0'

Resolve "Add SKPaymentTransactionObserver method"

See merge request ios/client-library-apple!220
parents a2022a14 c3f6d34e
......@@ -234,6 +234,11 @@ extension AppStoreProvider: SKPaymentTransactionObserver {
}
}
}
/// This delegate is called when the user clicks the subscription in the AppStore. We are currently not handling the purchase from there, so we will return false until we implement a way to handle it.
func paymentQueue(_ queue: SKPaymentQueue, shouldAddStorePayment payment: SKPayment, for product: SKProduct) -> Bool {
return false
}
}
extension AppStoreProvider: SKRequestDelegate {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment