Question

Cannot fetch offerings when using Amazon SDK

  • 30 January 2022
  • 2 replies
  • 81 views

Badge +5

I'm not seeing my offerings show up when I try to fetch offerings through the RC Amazon SDK.

  • The SDK is configured using AmazonConfiguration.Builder
  • I've enabled the products in the Amazon Developer Console
  • I've setup the Amazon Live App Testing
  • I've added products to RevenueCat and add it to my Offering and Entitlement
  • I've followed everything on this post

Every time I open the paywall I get: DEBUG: ℹ️ No cached Offerings, fetching from network. No errors, but no Offerings showing up either when querrying through 

Purchases.getSharedInstance().getOfferings

App works fine in regular Google Play mode.

Would it be possible to get step-by-step instructions on how to actually setup the Amazon SDK?


2 replies

Badge +5

 

I’m also noticing this error when trying to setup the SDK (even though the app will compile just fine).

Userlevel 3
Badge +3

Hey @Advait S , sorry for the late response here. I wanted to follow up and see if this was resolved?

 

If not, I have a few questions:

  • Can you confirm that these debug logs are from when you are testing in Live App Testing? We highly recommend using Live App Testing, even though it’s a bit of a hassle. We’ve seen some discrepancies in the Amazon IAP library’s behavior between App Tester and Live App Testing.
  • Could you provide full debug logs from the getOfferings call? It’d be helpful to see at which point things stop returning.

Here’s out platform resources for configuring Amazon with RevenueCat: https://docs.revenuecat.com/docs/amazon-platform-resources. Please let us know if you feel something is missing or confusing.

We also just released a new major, 5.0.0, in purchases-android with the latest Amazon support → https://github.com/RevenueCat/purchases-android/releases/tag/5.0.0

Reply