Question

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

  • 8 April 2024
  • 1 reply
  • 6 views

Badge +6

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

1 reply

Userlevel 3
Badge +8

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).