Skip to main content
Question

Detect the currently selected offer

  • September 24, 2024
  • 1 reply
  • 41 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
  • 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.