britannio / in_app_review

A Flutter plugin for showing the In-App Review/System Rating pop up on Android, IOS, and MacOS. It makes it easy for users to rate your app.
306 stars 78 forks source link

What happens if the user had already left a review? #55

Closed mirrorlink closed 2 years ago

mirrorlink commented 2 years ago

Does the modal open? Or it doesnt? is there a way to know that so its not annoying to ask all the time of if the user uninstalls and reinstalls the app?

Could the requestReview return a boolean so we know the review modal was or not indeed opened?

britannio commented 2 years ago

The modal does not open however the underlying API does not expose this information beforehand. This means that a boolean cannot be returned.

JobMoll commented 2 years ago

Can this perhaps be checked in the .isAvailable()? Otherwise it seems to the user that the button just doesn't work. Or what is the best thing you can do in this case?

mirrorlink commented 2 years ago

Can this perhaps be checked in the .isAvailable()? Otherwise it seems to the user that the button just doesn't work. Or what is the best thing you can do in this case?

JobMoll this should not be put in a button. Its by design. If you want to put in a button you have to call a different method, openStoreListing()

mirrorlink commented 2 years ago

The modal does not open however the underlying API does not expose this information beforehand. This means that a boolean cannot be returned.

thanks! this helps