[Paywall V2] `placements` field on `Offerings` is returning null
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 🤖
iOS 🍏
- Environment
- Platform: Android
- SDK version: 8.14.3
- OS version: Any
- Android Studio version: Android Studio Meerkat | 2024.3.1
- How widespread is the issue. Percentage of devices affected: 100%
👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!
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
Reopened issue. It was closed due to a failing automation. Sorry about that.
Hi, I can see this was resolved internally via a support ticket. Closing this now.
This issue has been automatically locked due to no recent activity after it was closed. Please open a new issue for related reports.