Skip to content

Ask for Ratings the Right Way: The Google Play In-App Review API

When to show Google Play’s in-app review card, what never to do (pre-questions, buttons), the hidden quota, and testing on the internal track.

Updated 3 min readBy the TestersZone team

Short answer

Use the In-App Review API to show Google Play’s rating card inside your app after a user has had a real success. Google enforces a hidden, time-bound quota, so the card may not appear, which means you must never trigger it from a button. Don’t ask “Do you like the app?” first, and don’t restyle the card. Test it through the internal test track, where the quota isn’t enforced.

The rules Google sets

From Google’s in-app review docs:

DoDon’t
Ask after the user has experienced enough of the app to give useful feedbackPrompt excessively
Show the card as-isChange its size, opacity or shape, or add overlays
Let Play remove the cardRemove it programmatically
Pick the moment with your own logicPut a “Rate us” button that calls the API
Ask any question before or during the card (“Do you like the app?”, “Would you give us 5 stars?”)

Why no button? Google says calling the review flow more than once in a short period (for example, less than a month) might not show a dialog, and the exact quota can change without notice. A button would sometimes do nothing. For a “Rate us” menu item, send users to your Play Store listing instead.

Good moments to ask

App typeMoment
Habit trackerAfter a 7-day streak
ProductivityAfter the third completed project
GameAfter winning a level, not after losing
UtilityAfter a task succeeds, such as a file converted

Rules of thumb (ours, not Google’s): wait until the user has returned on a few different days, never ask right after an error, and never ask during onboarding.

Implementation outline

  1. Add the Play In-App Review library (or your framework’s plugin).
  2. Request a ReviewInfo object ahead of time, when you think the moment is near.
  3. At the moment, launch the review flow with that ReviewInfo.
  4. Continue your normal flow whatever happens. The API doesn’t tell you whether a review was left.

Testing it

MethodWhat it testsNotes from Google’s test docs
Internal test trackThe real flow, including submittingQuota not enforced. The account must be on the track, be the primary Play account, have installed from Play, and not have reviewed already
Internal app sharingThe UIReviews can’t be submitted, the button is disabled
FakeReviewManagerYour code path in unit testsNo UI, always reports success

Closed testers can see the card too, but test-track reviews go to you as private feedback, not public ratings. Use your closed test to check the timing feels right.

After launch

Reply to the reviews you get, especially critical ones. Users are notified when you reply (see replying to reviews). Never offer rewards for ratings: Google Play’s policies prohibit incentivised reviews.

Frequently asked questions

Can I tell whether the user left a review?

No. The API is designed not to reveal that. Continue your app flow the same way either way.

Can I ask “Enjoying the app?” first and only show the card to happy users?

No. Google’s guidelines say not to ask any questions before or while showing the card.

Why doesn’t the card appear when I test?

Usually the quota, a non-primary account, an app not installed from Play, or an existing review. Use the internal test track.

Sources and how we keep this accurate

Policy facts are checked against Google's own documentation on the date shown above. Google can change requirements at any time, so confirm in your Play Console. Where we give advice or estimates rather than Google's rules, we say so. TestersZone is independent and not affiliated with Google. Drafts are AI-assisted and reviewed by our team.

Need 12 testers? Get them free.

Test 3 apps, earn 60 credits, and list your app for up to 20 real testers with verified daily check-ins.

Start free

Keep reading

Browse all guides, or see the quick answers, guides and comparisons.