I’m curious, will the delegate fire after purchase on Paywall feature
Purchases.shared.delegate
func purchases(_ purchases: Purchases, receivedUpdated customerInfo: CustomerInfo) {
//
}
func showPaywall() {
let controller = PaywallViewController()
controller.modalPresentationStyle = .fullScreen
controller.delegate = self
present(controller, animated: true, completion: nil)
}
extension ViewController: PaywallViewControllerDelegate {
public func paywallViewController(_ controller: PaywallViewController, didFinishPurchasingWith customerInfo: CustomerInfo) {
print("test")
}
}