Skip to main content
Question

Flutter - presentPaywallIfNeeded

  • December 20, 2024
  • 1 reply
  • 28 views

Forum|alt.badge.img

I'm using presentPaywallIfNeeded to call a paywall in Flutter. But I want it to be locked, user cannot swipe to close. How do I do this?

This post has been closed for comments

1 reply

cody
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • 497 replies
  • December 20, 2024

Hey ​@maikelgalvao!

If you need more customization on how the paywall is presented, I would recommend manually displaying the PaywallView in a context that can’t be dismissed, and making sure there’s no dismiss button: https://www.revenuecat.com/docs/tools/paywalls/displaying-paywalls#flutter 

Then, in the onDismiss handler, show the paywall again if needed.

Can you give that a try?


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings