Skip to main content
Solved

onReceived or onError call backs not triggering in getOfferings method

  • July 17, 2025
  • 1 reply
  • 11 views

Forum|alt.badge.img
onReceived or onError call backs not triggering in getOfferings method, when i update my SDK version to 35 and increase some other libraries versions. so i am unable to get prices of offerings
Purchases.getSharedInstance().getOfferings(new ReceiveOfferingsCallback() {    @Override    public void onReceived(@NonNull Offerings offerings) { }    @Override    public void onError(@NonNull PurchasesError error) { }});

 

Best answer by guilherme

Hey ​@vijay-code ,

Thanks for sharing this! A few quick follow-ups to help narrow down what might be happening with getOfferings() not triggering either callback:

  1. Can you confirm the exact version of the RevenueCat SDK you're using?
    We made some important changes in v9.0.1, including updating our internal compileSdk and targetSdk versions to 35. Using an older SDK (like any 8.x version) with compileSdk 35 can cause issues like the one you're seeing.

  2. Could you share any debug logs from when getOfferings() is called?
    This can help confirm if the request is being made or failing silently. You can enable debug logging with:

    Purchases.setLogLevel(Purchases.LogLevel.DEBUG);

  3. A few other helpful details, if you're able to provide them:

    • Where are you calling Purchases.configure() and getOfferings() in your app lifecycle?

    • Are you seeing this on all devices or specific versions?

    • What other dependencies/libraries did you update along with the SDK?

If you're able to share more info here, happy to keep digging. And if you prefer to share logs or code privately, feel free to open a support ticket at https://app.revenuecat.com/settings/support and include a link to this thread so we can follow up directly.

Best,

View original
Did this post help you find an answer to your question?
This post has been closed for comments

1 reply

guilherme
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 95 replies
  • Answer
  • July 21, 2025

Hey ​@vijay-code ,

Thanks for sharing this! A few quick follow-ups to help narrow down what might be happening with getOfferings() not triggering either callback:

  1. Can you confirm the exact version of the RevenueCat SDK you're using?
    We made some important changes in v9.0.1, including updating our internal compileSdk and targetSdk versions to 35. Using an older SDK (like any 8.x version) with compileSdk 35 can cause issues like the one you're seeing.

  2. Could you share any debug logs from when getOfferings() is called?
    This can help confirm if the request is being made or failing silently. You can enable debug logging with:

    Purchases.setLogLevel(Purchases.LogLevel.DEBUG);

  3. A few other helpful details, if you're able to provide them:

    • Where are you calling Purchases.configure() and getOfferings() in your app lifecycle?

    • Are you seeing this on all devices or specific versions?

    • What other dependencies/libraries did you update along with the SDK?

If you're able to share more info here, happy to keep digging. And if you prefer to share logs or code privately, feel free to open a support ticket at https://app.revenuecat.com/settings/support and include a link to this thread so we can follow up directly.

Best,


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