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.
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:
| Do | Don’t |
|---|---|
| Ask after the user has experienced enough of the app to give useful feedback | Prompt excessively |
| Show the card as-is | Change its size, opacity or shape, or add overlays |
| Let Play remove the card | Remove it programmatically |
| Pick the moment with your own logic | Put 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 type | Moment |
|---|---|
| Habit tracker | After a 7-day streak |
| Productivity | After the third completed project |
| Game | After winning a level, not after losing |
| Utility | After 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
- Add the Play In-App Review library (or your framework’s plugin).
- Request a ReviewInfo object ahead of time, when you think the moment is near.
- At the moment, launch the review flow with that ReviewInfo.
- Continue your normal flow whatever happens. The API doesn’t tell you whether a review was left.
Testing it
| Method | What it tests | Notes from Google’s test docs |
|---|---|---|
| Internal test track | The real flow, including submitting | Quota 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 sharing | The UI | Reviews can’t be submitted, the button is disabled |
| FakeReviewManager | Your code path in unit tests | No 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 freeKeep reading
How to Reply to Google Play Reviews (With Templates for 1-Star to 5-Star)
How to Get Your First 100 Installs on Google Play
Promote Your Closed Test Release to Production (First Launch and Updates)
Get Users Onto Your Latest Version: Google Play In-App Updates (Flexible vs Immediate)
Store Listing Experiments: A/B Test Your Google Play Icon, Screenshots and Description
Ads During Closed Testing: Use Test Ads So Testers Don’t Get Your AdMob Account Flagged
Browse all guides, or see the quick answers, guides and comparisons.