Question

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

  • 12 June 2023
  • 1 reply
  • 15 views

Badge +1

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.


1 reply

Userlevel 3
Badge +8

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