Solved

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

  • 19 October 2021
  • 2 replies
  • 287 views

Badge +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

 

icon

Best answer by psrajer 19 October 2021, 16:08

View original

2 replies

Badge +3

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

Badge +1

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