Skip to main content
Question

Get Offerings Errors randomly in Production: better to hardcode offering details?

  • April 8, 2024
  • 1 reply
  • 14 views

Forum|alt.badge.img+7

I am getting another random error in Production when I fetch my products.  

Is it better to hardcode my 2 offerings:  Monthly & Annual instead of relying on RevenueCat `getOffering()` API which is resulting in errors too often?  

None of the errors happen locally, only in production.  Logging is useless.

This post has been closed for comments

Ryan Glanz
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • April 10, 2024

Hi,

Is this Apple? We’ve heard a couple cases about this happening in production recently.

Either way, you could include hardcoded packages as a fallback in case the store doesn’t return anything (I checked our server logs and your getOfferings calls all succeeded on the RC-side).


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