Skip to content

Getting Started

GitHub
Terminal window
bun add @capgo/capacitor-in-app-review
bunx cap sync
import { CapgoInAppReview } from '@capgo/capacitor-in-app-review';

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.
import { CapgoInAppReview } from '@capgo/capacitor-in-app-review';
// Request a review at an appropriate moment in your app
await CapgoInAppReview.requestReview();

This page is generated from the plugin’s src/definitions.ts. Re-run the sync when the public API changes upstream.

If you are using Getting Started to plan store approval and distribution, connect it with Using @capgo/capacitor-in-app-review for the native capability in Using @capgo/capacitor-in-app-review, @capgo/capacitor-in-app-review for the implementation detail in @capgo/capacitor-in-app-review, @capgo/capacitor-native-market for the implementation detail in @capgo/capacitor-native-market, Using @capgo/capacitor-native-market for the native capability in Using @capgo/capacitor-native-market, and Capacitor OTA Updates: App Store Approval Guide for the practical context in Capacitor OTA Updates: App Store Approval Guide.