Skip to main content
Question

Callback events for PaywallView manual presentation

  • March 4, 2024
  • 1 reply
  • 177 views

Forum|alt.badge.img+2

I’m intergrating RevenueCat Paywalls. There are two main ways to present a paywall in SwiftUI using View modifier `presentPaywallIfNeeded(...)` or manually allocating `PaywallView(displayCloseButton: true)`. And there is not callback events for manual allocation, how to handle events in this case?

This post has been closed for comments

1 reply

wes_clark
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • March 6, 2024

Hi! You can use .onPurchaseCompleted as a callback after PaywallView.