takecian / SwiftRater

A utility that reminds your iPhone app's users to review the app written in pure Swift.
MIT License
356 stars 42 forks source link

IMPROVEMENT #32

Open ghost opened 4 years ago

ghost commented 4 years ago

Hi, thanks for your library, can you add a completion handler when user did a review? because for now we cannot know if he canceled or not..

Thanks :)

takecian commented 4 years ago

Hello,

Unfortunately, we couldn't tell whether users did review or not because SKStoreReviewController.requestReview() is used for showing rating popup. This api doesn't have return value and callback. What we can do is to tell the system "Please ask the user to rate or review your app, if appropriate" by using this api.

https://developer.apple.com/documentation/storekit/skstorereviewcontroller/2851536-requestreview