Recover for inApp for a dumb product on iPhone

Be sure to add a restore button in the user interface to restore the purchase of inApp for a non-product.

Is there a way to do this automatically, as in Angry Birds and other applications / games?

+4
source share
2 answers

As Apple mentioned in the App Purchasing Guide :

Shopping store development in a store

Your in-app shopping store should be attractive, intuitive, and easy to use. Follow these design guidelines to help you achieve this goal:

Provide a “Check inventory” button that allows users to check items that they may be missing or that they have already purchased on another device. Keep in mind that automatically initiating a restore of previous purchases (which will prompt the user about their password in the iTunes Store) may confuse your users.

In code, call restoreCompletedTransactions() to implement this.

+4
source

Yes, the reason that it is not consumed makes sense, because uninstalling and reinstalling the application will cause the user to lose the purchase, so you need to enable the option to restore unused resources:

Please refer to the following link for here

Personal experience

In my one game, I integrate the purchase through the application in that the non-consuming IAP is installed, and the apple rejects my application and inserts one recovery button for the purchase of recovery and now the application is in review.

+4
source

All Articles