purchases-android icon indicating copy to clipboard operation
purchases-android copied to clipboard

[Paywall V2] `placements` field on `Offerings` is returning null

Open augusto-carmo-mesa opened this issue 9 months ago • 2 comments

Describe the bug

When fetching the Offerings on Android the placements field is returning null, even though there are entries for it, as can be seen on the following iOS Screen Shot.

That's how I'm fetching the Offerings on Android:

purchasesInstance.getOfferings(
    listener = object : ReceiveOfferingsCallback {
        override fun onError(error: PurchasesError) {
            continuation.resume(value = null)
        }

        override fun onReceived(offerings: Offerings) {
            val offering = offerings.getCurrentOfferingForPlacement(
                placementId = "THE PLACEMENT STRING HERE"
            )

            continuation.resume(value = offering)
        }
    }
)

Is it a known bug on the Android's library or am I doing something wrong?


Android 🤖 Image

iOS 🍏 Image

  1. Environment
    1. Platform: Android
    2. SDK version: 8.14.3
    3. OS version: Any
    4. Android Studio version: Android Studio Meerkat | 2024.3.1
    5. How widespread is the issue. Percentage of devices affected: 100%

augusto-carmo-mesa avatar Mar 17 '25 21:03 augusto-carmo-mesa

👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!

RCGitBot avatar Mar 17 '25 21:03 RCGitBot

Hi @augusto-carmo-mesa could you please open a support ticket here so we can investigate this further? Please also provide the following information in it:

  • The RevenueCat project and the offering this is for
  • RevenueCat debug logs that reproduce this, see our docs here to enable these
  • The app user id you have been testing with

HaleyRevcat avatar Mar 19 '25 17:03 HaleyRevcat

Reopened issue. It was closed due to a failing automation. Sorry about that.

ajpallares avatar Sep 22 '25 07:09 ajpallares

Hi, I can see this was resolved internally via a support ticket. Closing this now.

HaleyRevcat avatar Oct 02 '25 23:10 HaleyRevcat

This issue has been automatically locked due to no recent activity after it was closed. Please open a new issue for related reports.

github-actions[bot] avatar Oct 10 '25 00:10 github-actions[bot]