Skip to main content
Question

I only see one package when fetching, but I have two in the configuration.

  • 12 June 2023
  • 1 reply
  • 21 views

Forum|alt.badge.img+2

This is the configuration I set for my offering.

 

However, when I print the offerings.current, I only see the first one.

The monthly item has a value, but the threeMonth item is null.

What could be the issue?

Thank you.

Ryan Glanz
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • June 14, 2023

Hi,

Just to confirm, is this the code you’re using to fetch offerings?

try {
  Offerings offerings = await Purchases.getOfferings();
  if (offerings.current != null && offerings.current.availablePackages.isNotEmpty) {
    // Display packages for sale
  }
} on PlatformException catch (e) {
    // optional error handling
}

If so, can you send the logs? The products do look ok on your account.


Reply


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