jamesmontemagno / StoreReviewPlugin

Request app store reviews across Xamarin and Windows applications
MIT License
186 stars 24 forks source link

Issue if user tries to Review for the second time. #25

Closed iamchandanys closed 3 years ago

iamchandanys commented 3 years ago

Bug

We have the Rate Us button in our App and we are calling the below line in that method.

await CrossStoreReview.Current.RequestReview(false);

So now the issue is, after giving the Review, if the user clicks on the Rate Us button again, it won't show anything. So the user might think it's the bug.

Version Number of Plugin: 3.1.0 Tested On: Android & iOS.

Expected Behavior

Once the user gives the review and if they try to give again, at least it needs to show some message like that they have already given Review or at least it needs to redirect to the Play Store or App Store just to make the user knows that they have already given the Review.

Actual Behavior

If the user clicks on the Rate Us button for the second time, it won't show anything.

Steps to reproduce the Behavior

Try to give a review for the Second time.

saamerm commented 3 years ago

Ah yes! That would have been neat. Unfortunately there's no public api available that can help with that. For your feature, you can keep a counter of when the user taps the first time, display the in app review. And for subsequent times, you can perhaps take them to the App Store

jamesmontemagno commented 3 years ago

Yup, you shouldn't have a Rate Us button with this feature it is meant for more of a pop up after usage. However if you do, do what @saamerm said.... HOWEVER technically it isn't guaranteed to even come up on iOS even if you call it. Just how it works.

iamchandanys commented 3 years ago

@saamerm @jamesmontemagno Got it. Thanks for the respose. Let me implement as @saamerm suggested.

moonios5 commented 3 years ago

@jamesmontemagno @saamerm how we know that review added successfully ?

saamerm commented 3 years ago

@moonios5 theres no public api available from iOS or Android that allows us to know if a review was added successfully by the user. Basically what that means is that it's not possible to do it in native iOS or Android, even if you use swift or Java. And so it's impossible to do with Xamarin as well