Originally created by @ari3l on GitHub (May 9, 2017).
SKStoreReviewController doesn't have an API that tells us if the user submits a review, as a result, if rating conditions are met the library will constantly ask for a review.
I fixed this locally by setting UserDefaults to mark the current version as reviewed when calling requestReview(). This means that the user will see the review prompt once per version, regardless if the user rates or not.
I can submit a PR with the fix, but I'm not sure if that would be the correct approach. Let me know what you guys think!
Originally created by @ari3l on GitHub (May 9, 2017).
[SKStoreReviewController](https://developer.apple.com/reference/storekit/skstorereviewcontroller) doesn't have an API that tells us if the user submits a review, as a result, if rating conditions are met the library will constantly ask for a review.
I fixed this locally by setting UserDefaults to mark the current version as reviewed when calling `requestReview()`. This means that the user will see the review prompt once per version, regardless if the user rates or not.
I can submit a PR with the fix, but I'm not sure if that would be the correct approach. Let me know what you guys think!
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @ari3l on GitHub (May 9, 2017).
SKStoreReviewController doesn't have an API that tells us if the user submits a review, as a result, if rating conditions are met the library will constantly ask for a review.
I fixed this locally by setting UserDefaults to mark the current version as reviewed when calling
requestReview(). This means that the user will see the review prompt once per version, regardless if the user rates or not.I can submit a PR with the fix, but I'm not sure if that would be the correct approach. Let me know what you guys think!
@coneybeare commented on GitHub (May 12, 2017):
I think your approach is reasonable. Thanks for catching that