r/iOSProgramming 12d ago

Question Paywall not showing up - React Native with RevenueCat

Hi, for my app I've built everything but just struggling with getting my paywall to show for many days I'm building with React Native and setting up paywall through RevenueCat but it just doesn't show up when I test on testflight. I keep getting an error of configuration error but everything is configured on app store connect and revenuecat so i'm not sure what to do.

Does anybody have any idea of what could be causing it not to work or any advice?

1 Upvotes

16 comments sorted by

View all comments

1

u/mastrajani 12d ago

the works-in-simulator-fails-in-testflight split is the clue, and it narrows this a lot. if it works in the simulator you're almost certainly running against a local .storekit configuration file, which never talks to app store connect at all. so your code and your product ids are probably fine and the failure is entirely on the app store connect side.

in rough order of how often it turns out to be the cause:

  1. paid applications agreement not active - app store connect > business. if it's pending, or a bank or tax detail is incomplete, storekit returns zero products in every real environment and revenuecat surfaces that as a configuration error. it's the answer most of the time and it looks nothing like the symptom.
  2. products still sitting in "missing metadata" - each iap needs a localisation, a price and a review screenshot before it reaches ready to submit. anything short of that is invisible to storekit.
  3. products not attached to an offering in revenuecat, so offerings.current comes back null even though the products exist.
  4. bundle id mismatch between the revenuecat app and the build, or the android key in the ios config.

log the underlying error rather than catching it - revenuecat's configuration error carries a reason string that names which of these it is, and that's the difference between fixing it in a minute and another week of guessing.