Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Restore for inApp for non-consumable product in iPhone

Is it compulsory to add restore button in the UI for restoring the inApp purchase for non consumable product.

Is there any way to do it automatically like in Angry Birds and other apps/games?

like image 578
ios developer Avatar asked Feb 17 '23 03:02

ios developer


2 Answers

As mentioned by Apple in In-App Purchase Guidelines:

Designing Your In-App Purchase Store

Your In-App Purchase store should be attractive, easy to understand, and simple to use. Follow these design guidelines to help you meet this goal:

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

In code, call restoreCompletedTransactions() method to implement this.

like image 64
bluemax Avatar answered Mar 03 '23 22:03

bluemax


Yes the reason is because is a non-consumable, it makes sense since removing and reinstall the app will make the user to lose the purchase, so you need to include an option to restore the non-consumables:

Please Refer the following link for that Here

Personal Experience

In my one game i integrate in-app purchase in that non-consumable IAP installed and apple reject my app and insert one restore button for the restore purchase and now app in review.

like image 25
Nimit Parekh Avatar answered Mar 04 '23 00:03

Nimit Parekh