How do you to check if a user has rated your app on the Google Play?

AndroidAndroid IntentGoogle PlayRating

Android Problem Overview


I want to check to see if a user has rated my app on the Google Play, not how many stars, just if they have. And if they haven't I will prompt them with a dialog asking them to rate it with this code:

startActivity( new Intent( Intent.ACTION_VIEW,
       Uri.parse("market://details?id=packagename") ) );

Android Solutions


Solution 1 - Android

No. You cannot do this. And this is a good thing too -- otherwise you will be able to influence rating by giving people who rated it rewards and such. Additionally, developers would be able to retaliate to negative reviews if such an API were available. This might also violate certain legal agreements between the User and Google if Google starts revealing this data.

However, this is what I personally do in my apps:

  1. Let the user use the app 5 times, to get a good feel of it.
  2. Prompt the user on the sixth run to rate it with options for Yes, Later and Never. Later delays it by two days.

Solution 2 - Android

Actually you can do it, you can get the username by using this or similar...

https://stackoverflow.com/questions/2727029/how-can-i-get-the-google-username-on-android

then fire a parser on https://play.google.com/store/apps/details?id=X URL...

<span class="author-name"> <a href="/store/people/details?id=11">Andy Borris</a>  </span>

<div class="tiny-star star-rating-non-editable-container" aria-label=" Rated 1 stars out of five stars "> <div class="current-rating" style="width: 20%;"></div> </div>

and then you can popup "rate me five stars or i will share your pictures with the world" :P lol just kidding

Solution 3 - Android

It does take an effort to get users to rate your app, especially if they like it! Unfortunately, negative ratings seem to take much less persuasion ;-)

I've tried a few things, all involving an app button titled "Rate me!" or some such, which when clicked, opens the Market App on the phone. It has been my experience that most users who click the first "Rate me" button will spend an extra 5 secs to give you a stars-rating (and remember most users don't know that your app cannot track whether they actually provided a rating or not). They may not give you a wordy review, and limit it to only a few words ("Great app"), but hey take what you can get!

Solution 4 - Android

As other users mentioned before your best bet is to use a "Rate my app" button or dialog. If you use analytics you can track button clicks. If using Google Analytics you could assign event values for buttons displayed on the dialog box and see see how many users click "Rate" button.

Solution 5 - Android

It is not possible to know automatically how rated your app. A good practice that I suggest is to select the best momment to rate in order to get a better review.

1 - First, find the best moment for rating. You can do this efficiently by selecting the momment that you solve the users pain. For example, if you were uberlike app, the best momment would be when the users get a ride safely and give a good review for the driver.

2 - Then, code a dialog with Yes, Later and Never options and save to your database to ask later or not.

3 - Ask again on the next best momment.

Solution 6 - Android

There is application called aurora store which shows user ratings, probably there in code mayd be an answer for this question, but i am not sure about legal consequences. See: https://gitlab.com/AuroraOSS/AuroraStore

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
Questionuser1276567View Question on Stackoverflow
Solution 1 - AndroidRaghav SoodView Answer on Stackoverflow
Solution 2 - AndroidD.SnapView Answer on Stackoverflow
Solution 3 - AndroidPVSView Answer on Stackoverflow
Solution 4 - AndroidZeeView Answer on Stackoverflow
Solution 5 - AndroidLeo PaimView Answer on Stackoverflow
Solution 6 - AndroidMilan JurkulakView Answer on Stackoverflow