Skip to main content
Solved

How to test production flow on Xcode or TestFlight ?

  • April 7, 2025
  • 1 reply
  • 17 views

Forum|alt.badge.img

Hello,

We have implemented RevenueCat in our React Native app. We want to use it only with Apple app store. We have been testing in the SandBox and now we want to test the real production flow before submitting an update for the app. We always get the sandbox test purchase even after switching the SandBox switch off in the RevenueCat website.

Best answer by joan-cardona

Hi ​@YoucefDev47,

The environment depends on the way you installed the app, if you did it through Xcode or Testflight then you'll be using the sandbox environment always. Changing the switch in the RevenueCat dashboard will only filter you the transactions in that environment.
This is a limitation from the stores side, that's how they implemented it and cannot be bypassed by our system. Said that, if you are able to make purchases through sandbox, everything should work the same way in production. Just make sure that your in-app products get approved by the store reviewers at the same time as the app.
 

Best,

View original
Did this post help you find an answer to your question?
This post has been closed for comments

1 reply

joan-cardona
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 380 replies
  • Answer
  • April 9, 2025

Hi ​@YoucefDev47,

The environment depends on the way you installed the app, if you did it through Xcode or Testflight then you'll be using the sandbox environment always. Changing the switch in the RevenueCat dashboard will only filter you the transactions in that environment.
This is a limitation from the stores side, that's how they implemented it and cannot be bypassed by our system. Said that, if you are able to make purchases through sandbox, everything should work the same way in production. Just make sure that your in-app products get approved by the store reviewers at the same time as the app.
 

Best,


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