Giter Site home page Giter Site logo

Comments (4)

KjellConnelly avatar KjellConnelly commented on July 17, 2024

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

from react-native-rate.

NarekChang avatar NarekChang commented on July 17, 2024

@KjellConnelly yes. Sorry for my english :)

from react-native-rate.

mezod avatar mezod commented on July 17, 2024

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.

from react-native-rate.

KjellConnelly avatar KjellConnelly commented on July 17, 2024

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:

  • User gets a pop up: Please Rate My App.
  • User can tap Yes, or cancel. User taps Yes.
  • You save a variable to AsyncStorage that the user tapped yes, but there is no way to know if the user actually went through with rating/reviewing the app.
  • User is taken to your App Review Page. They could leave a rating. They could write a review. They could open up Angry Birds and completely forget about your app.

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.

from react-native-rate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.