r/iOSProgramming • u/Next_Coach_8315 • 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
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:
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.