This is a fairly simple question, but couldn't find the answer with research.
I know with the original StoreKit API, you had to offer a user the ability to restore purchases. However, with StoreKit2, the WWDC video explains that restoring purchases should rarely, if ever, be required because StoreKit2 automatically listens and keeps transactions up to date.
So, is adding a restore purchase button still mandatory if uses only StoreKit2 and has a minimum deployment target of iOS 15?
CodePudding user response:
This is a good question. The issue with restore purchases is that it is an app store guidelines requirement 3.1.1
Any credits or in-game currencies purchased via in-app purchase may not expire, and you should make sure you have a restore mechanism for any restorable in-app purchases.
Apple is known for its strict guidelines and application that will not offer a restore mechanism is likely to get rejected.
StoreKit2 like you mentioned aims to improve the user experience and reduce the friction of manual restoration using a button or such mechanism. But as far as I know it is still required.
Potentially if you can promise using StoreKit that the purchases will be available using some smart mechanism that I cannot think of, it might pass the review team.