Skip to content

Cap-go/capacitor-in-app-review

@capgo/capacitor-in-app-review

Capgo - Instant updates for capacitor

Prompt users to submit app store ratings and reviews without leaving your app.

Why Capacitor In-App Review?

The simplest way to request native app store reviews on both iOS and Android:

  • iOS SKStoreReviewController - Native App Store review dialog
  • Android Play In-App Review API - Native Google Play review flow
  • No redirects - Users stay in your app while reviewing
  • Platform compliant - Follows Apple and Google guidelines automatically

Essential for improving your app's ratings and visibility on the stores.

Documentation

For complete documentation, visit: https://capgo.app/docs/plugins/in-app-review/

Compatibility

Plugin version Capacitor compatibility Maintained
v8.*.* v8.*.*
v7.*.* v7.*.* On demand
v6.*.* v6.*.*
v5.*.* v5.*.*

Note: The major version of this plugin follows the major version of Capacitor. Use the version that matches your Capacitor installation (e.g., plugin v8 for Capacitor 8). Only the latest major version is actively maintained.

Install

npm install @capgo/capacitor-in-app-review
npx cap sync

Usage

import { CapgoInAppReview } from '@capgo/capacitor-in-app-review';

// Request a review at an appropriate moment in your app
await CapgoInAppReview.requestReview();

Platform Guidelines

Both Apple and Google have strict guidelines about when and how often the review dialog can be shown:

iOS:

  • The system may or may not show the review dialog based on App Store policy
  • You should not call requestReview() in response to a button tap
  • The system automatically limits the display of the prompt to 3 times within a 365-day period

Android:

  • Google Play enforces a quota on how often a user can be shown the review dialog
  • The API might not show the dialog if the quota has been reached
  • The dialog will not be shown in debug builds

API

Capacitor In-App Review Plugin interface for prompting users to submit app store ratings and reviews without leaving the app.

requestReview()

requestReview() => Promise<void>

Request an in-app review from the user.

This method triggers the native in-app review dialog provided by the platform. On iOS, it uses SKStoreReviewController. On Android, it uses the Play In-App Review API.

Important Notes:

  • The review dialog may not be displayed every time this method is called. Both Apple and Google have guidelines that limit how often the prompt can appear.
  • There is no guarantee that the user will see the review prompt.
  • The method resolves successfully even if the dialog was not shown.
  • Do not call this in response to a user action like a button tap. Instead, call it at natural points in your app's user flow.

Since: 1.0.0


getPluginVersion()

getPluginVersion() => Promise<{ version: string; }>

Get the native Capacitor plugin version.

Returns: Promise<{ version: string; }>

Since: 1.0.0


About

Capacitor plugin to prompt users to submit app store ratings

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

 
 
 

Contributors