Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to avoid showing in-app review prompt to user if user has already rated an application

Tags:

ios

storekit

I'm using SKStoreReviewController.requestReview() API provided by Apple to show prompt to user to rate my application. But I don't want to show prompt to user if he/she has already rated my application. How can I do it. Is it automatically handled by SKStoreReviewController If NOT, how can it do it? If YES, how can I verify it in dev environment?

I'm not able to find any Apple doc regarding it.

like image 337
Varun Mehta Avatar asked Aug 23 '18 05:08

Varun Mehta


1 Answers

Late response to the OP but hopefully this is helpful to others.

Apple did not make the answer easy to find but it does say here that the review request dialog will not be shown if a user has already given feedback.

If the user hasn't already given feedback, the system displays an in-app prompt that asks for a rating and an optional written review

Therefore, the SKStoreReviewController.requestReview() API will take care of the logic that makes sure the in-app review request dialog is not shown if the user has already written a review for your app on the users current version. When the app's bundle version is updated on the user device, it may show the dialog as long as you have not surpassed Apple's quota (can only display the in-app review request dialog 3 times in a year)

like image 152
Dan Archer Avatar answered Oct 02 '22 10:10

Dan Archer