MinaSamir11 / react-native-in-app-review

The Google Play In-App Review API, App store rating API lets you prompt users to submit Play Store or App store ratings and reviews without the inconvenience of leaving your app or game.
MIT License
648 stars 58 forks source link

How know if the user reviewed or not #47

Closed johansmith closed 3 years ago

johansmith commented 3 years ago

Hi, How can I know if the current user has reviewed the application or not? I need to show the InAppReview.RequestInAppReview () window only if the user has not voted, or else it would be spam

tarouboy commented 3 years ago

I think you have to log it somewhere by yourself. Easiest way will be using AsyncStorage.

NgocNamFNT commented 3 years ago

I think you have to log it somewhere by yourself. Easiest way will be using AsyncStorage. android is not show popup

MinaSamir11 commented 3 years ago

@johansmith
according to given from iOS, android API :-> When the flow has finished. The API does not indicate whether the user reviewed or not, or even whether the review dialog was shown. Thus, no matter the result, we continue our app flow.

MinaSamir11 commented 3 years ago

I think you have to log it somewhere by yourself. Easiest way will be using AsyncStorage. android is not show popup

Your issue was duplicated you can read this: https://github.com/MinaSamir11/react-native-in-app-review/issues/6