Skip to main content
Solved

Restore purchases works when running in Xcode but doesn't work in TestFlight


Forum|alt.badge.img+3

Hello, I have a problem with implementation of restore purchases (I am using RevenueCat anonymous ID’s). When I run Purchases.shared.restoreTransactions in Xcode it returns right subscription status but when I upload it in TestFlight it stops working. I am signed with the same sandbox account. Any ideas what I am doing wrong? Thanks in advance

 

Best answer by psrajer

I’ve found an solution. It is a bug. In TestFlight it is using my Production account and not sandbox account. It is confusing but I’ve found it here: https://www.revenuecat.com/blog/the-ultimate-guide-to-subscription-testing-on-ios#testflight

View original
Did this post help you find an answer to your question?

2 replies

Forum|alt.badge.img+3
  • Author
  • Helper
  • 1 reply
  • Answer
  • October 19, 2021

I’ve found an solution. It is a bug. In TestFlight it is using my Production account and not sandbox account. It is confusing but I’ve found it here: https://www.revenuecat.com/blog/the-ultimate-guide-to-subscription-testing-on-ios#testflight


Forum|alt.badge.img+1
  • New Member
  • 2 replies
  • January 21, 2022
psrajer wrote:

I’ve found an solution. It is a bug. In TestFlight it is using my Production account and not sandbox account. It is confusing but I’ve found it here: https://www.revenuecat.com/blog/the-ultimate-guide-to-subscription-testing-on-ios#testflight

Can you elaborate? What actions are needed to rectify? Or are you saying its OK for restore purchases to be broken in testflight?


Reply


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