Skip to main content
Question

[Android] getOfferings() fails with “There is no singleton instance” (despite Purchases being configured)

  • May 30, 2025
  • 1 reply
  • 25 views

Forum|alt.badge.img+2

Message:

Hi RevenueCat team,

Some of our Android users are encountering a fatal error when calling Purchases.getOfferings():

PlatformException: PlatformException(error, There is no singleton instance. Make sure you configure Purchases before trying to get the default instance. More info here: https://errors.rev.cat/configuring-sdk, null, lb.f0: There is no singleton instance. Make sure you configure Purchases before trying to get the default instance. More info here: https://errors.rev.cat/configuring-sdk at com.revenuecat.purchases.Purchases$Companion.getSharedInstance(SourceFile:12) at com.revenuecat.purchases.hybridcommon.CommonKt.getOfferings(SourceFile:8) at com.revenuecat.purchases_flutter.PurchasesFlutterPlugin.getOfferings(SourceFile:5) ... )

This issue is happening sporadically in production, and the error implies that Purchases.configure() was not called — however, our code ensures that configuration is completed before any calls to getOfferings() are made.

This may indicate a race condition or an issue within the SDK itself, especially considering that it only affects some users and not others. We need your help to confirm what might be going wrong, and whether any additional safeguards are required on our end — or if this needs to be patched on your side.

Please investigate and let us know how to proceed.

Thanks.

This post has been closed for comments

1 reply

MarcosC
RevenueCat Staff
Forum|alt.badge.img+7
  • RevenueCat Staff
  • 179 replies
  • May 30, 2025

I’ll share the same answer as in the previous 8 posts

 

Hi oomkoding,

Thanks for reaching out and for sharing this and the other detailed posts in the community.

We also noticed that you've opened a support ticket referencing this issue — thank you for that.

In the meantime, you may find this article helpful, as it outlines the most common reasons why offerings might be empty:
👉 https://community.revenuecat.com/sdks-51/why-are-offerings-or-products-empty-124 

To properly investigate and provide the best assistance possible, our support team has requested some additional information in the ticket. If you could follow up there with those details, we'll be able to proceed more efficiently.

We appreciate your time and patience, and thank you again for reporting these issues.

Best regards,


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