Skip to main content
Question

Default Package per tab

  • April 3, 2026
  • 1 reply
  • 55 views

Forum|alt.badge.img+5

I am currently trying to implement family sharing by using tabs on the dynamic paywalls but what I noticed is that the selected package does not change based on which tab the user is on. It remains either the default package on paywall load or until they change it. Is there a way to have a default package for each tab?

 

I really could use someone’s help. 

This post has been closed for comments

1 reply

guilherme
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • April 8, 2026

Setting a default selected package per tab isn't supported right now. This is a known limitation and something we're looking into, but we currently don't have a timeline to share!

That said, there's a workaround in the docs that covers your family sharing setup pretty closely. The idea is to control which package stack is visible based on a custom variable you pass at runtime, rather than which package is pre-selected:

Suppose you have an offering that contains both family sharing and non-family sharing packages, and you want to control which set is shown at runtime.

  1. Place the family sharing packages in one package stack and the non-family sharing packages in a second package stack.
  2. Create a boolean custom variable named family-sharing.
  3. Create a rule based on the family-sharing custom variable.
  4. In the true case, show the family sharing stack and hide the non-family sharing stack.
  5. In the false case, do the opposite.

more context here

You'd pass the variable when presenting the paywall based on which tab is active. It won't auto-select a package, but it'll ensure only the relevant packages are shown per context. The custom variables section will show how to set that up and pass values from your app, but let me know if you have any questions here!