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.
327 stars 82 forks source link

Is there a way to get review value from 1-5 range? #13

Closed 127 closed 4 years ago

127 commented 4 years ago

subj

britannio commented 4 years ago

Unfortunately not as the API's provided by Apple and Google provide very little information when the review dialog is shown. See: https://developer.apple.com/documentation/storekit/skstorereviewcontroller/2851536-requestreview https://developer.android.com/guide/playcore/in-app-review/kotlin-java#launch-review-flow

127 commented 4 years ago

very sad )

FisherWL commented 3 years ago

this is a stackoverflow question, with the help of sharedpreferences and a counter, it can be done.

britannio commented 3 years ago

this is a stackoverflow question, with the help of sharedpreferences and a counter, it can be done.

@FisherWL Feel free to share the StackOverflow link however I don't see how SharedPreferences can be used to determine what rating a user entered in the review pop up that this plugin displays.

The plugin asks the underlying OS to display the review pop up, it's not done in Flutter so without an API provided by the underlying OS, there isn't an official way to get the rating provided by the user.

FisherWL commented 3 years ago

I misunderstood the question, I thought it meant to prompt 1-5 times.