Commit c3f6d34e authored by Jose Blaya's avatar Jose Blaya
Browse files

Add delegate method to be called from a subscription promotion in the Appstore

parent a2022a14
......@@ -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