KjellConnelly / react-native-rate

Send your app users to Apple App Store, Google Play, Amazon, or other using the newest APIs
635 stars 100 forks source link

How I can check existence review for my app? #24

Closed NarekChang closed 5 years ago

NarekChang commented 5 years ago

How I can check existence review for my app? I can use with lib for that? I can't find tutorial's for solution.

KjellConnelly commented 5 years ago

Idk what you mean - do you want to know how to check if a user has already reviewed your app before?

NarekChang commented 5 years ago

@KjellConnelly yes. Sorry for my english :)

mezod commented 5 years ago

You can't. The info is undisclosable so there's no API making that public.

If you don't want to ask for a review to people who might have already reviewed your app, the best solution I could come up with was to store myself if I had already displayed the review request to my users. This doesn't mean they have reviewed the app, but at least it means they have already been requested to.

KjellConnelly commented 5 years ago

There is no way to reliably check if a user has rated your app. The most you can do is be notified when a user opens the link provided by this module and are taken to the App Store.

Example:

So the best you can do is know that a user has opened the link to the App Store. For privacy reasons, there is no way to know if they actually do anything.

Though you can query for app reviews (this module does not do this though), there is no way to reliably compare if the user who wrote a review is the one using your app as there is no identifier that is reliably given within an app review.

For example, there may be a review given by a user named johndoe365. There also may be a user that you have collected information from before. Maybe you just collected their name, and it is John Doe. So you may assume it’s the same person. But it might not be. Or maybe they signed in with their Google account in your app, and their username is johndoe365. In that case, you could assume it is the same person. But that information would not be 100% the same for every user. So it’s not a reliable way to check if a user has written a review or not.

This also discourages developers from giving rewards for their users rating/reviewing their apps which is actually now allowed. Although, some apps give you freebies for rating their app, you can also bypass this by simply saying you will rate the app, and not doing it.