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

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.



Solution 1:[1]

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)

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 rmtheis