Skip to main content
Question

Detect the currently selected offer

  • September 24, 2024
  • 1 reply
  • 22 views

Forum|alt.badge.img

In my Flutter application, I’ve implemented a PaywallFooterView to display subscription offers. I would like to dynamically change the footer text or perform specific actions based on the offer that the user selects. How can I:

 

1. Detect the currently selected offer from the available options?

 

Any guidance on how to achieve this would be greatly appreciated!

This post has been closed for comments

1 reply

Forum|alt.badge.img+8
  • RevenueCat Staff
  • 509 replies
  • October 2, 2024

Hi, you can do this by fetching the call getOfferings  and manually pass the Offering object into the paywall/footer. With this you will have the Offering object yourself and can verify/log if needed.


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