Skip to main content
Solved

Restoring purchases on Apple Watch


Forum|alt.badge.img+3

When a user has bought my product from the iOS app, when I try to restore the purchase on the companion Apple Watch app, it does not seem to get it right. I am facing the same issue as this other topic. If using a StoreKit file, there is no error but the entitlement obtained in the iOS app is not retrieved. When I am not using a StoreKit file, the Watch keeps asking to login into my Apple ID (which I'm already logged in) 

 

 

How is this flow supposed to work?

 

Thanks in advance ๐Ÿ˜ป

Best answer by kildos

Hi @Haley Pace , thank you for your response. Finally I was able to solve this issue, and I want to share the lessons I learnt, that could be useful for others.

- Using a StoreKit configuration file works great for testing purchases, but it doesnโ€™t work for restoring purchases. If I make a purchase, delete the app and install it again, if I try to make a restore, the purchase is not restored. I donโ€™t know if this is a bug, but it is what I experienced. If this is the expected behaviour, I feel like RevenueCat documentation (I lost hope with Apple documentation) should state this in a very clear way.


-  When trying to restore in the Apple Watch (without a StoreKit Config file) the purchase made on the iPhone, it was always giving this dialog:




This is only happening with a build from Xcode. I shipped a TestFlight of the app and all the "purchase on iPhone and restore on the Apple Watch" flow worked perfectly!

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

2 replies

Forum|alt.badge.img+8
  • RevenueCat Staff
  • 430 replies
  • June 14, 2024

Hi, can you let me know the following:


Forum|alt.badge.img+3
  • Author
  • Helper
  • 3 replies
  • Answer
  • June 21, 2024

Hi @Haley Pace , thank you for your response. Finally I was able to solve this issue, and I want to share the lessons I learnt, that could be useful for others.

- Using a StoreKit configuration file works great for testing purchases, but it doesnโ€™t work for restoring purchases. If I make a purchase, delete the app and install it again, if I try to make a restore, the purchase is not restored. I donโ€™t know if this is a bug, but it is what I experienced. If this is the expected behaviour, I feel like RevenueCat documentation (I lost hope with Apple documentation) should state this in a very clear way.


-  When trying to restore in the Apple Watch (without a StoreKit Config file) the purchase made on the iPhone, it was always giving this dialog:




This is only happening with a build from Xcode. I shipped a TestFlight of the app and all the "purchase on iPhone and restore on the Apple Watch" flow worked perfectly!


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