Getting Started
このプラグインのインストールステップとフルマークダウンガイドまでの設定用の質問をコピーする。
Set up this Capacitor plugin in the project.
Use the package manager already used by the project.
Install these package(s): `@capgo/capacitor-in-app-review`
Run the required Capacitor sync/update step after installation.
Read this markdown guide for the full setup steps: https://raw.githubusercontent.com/Cap-go/website/refs/heads/main/apps/docs/src/content/docs/docs/plugins/in-app-review/getting-started.mdx
Use that guide for platform-specific steps, native file edits, permissions, config changes, imports, and usage setup.
If that guide references other docs pages, read them too.
インストール
「インストール」のセクションCapgoのAI-Assisted Setupを使用してプラグインをインストールできます。AIツールにCapgoスキルを追加するには、以下のコマンドを使用してください。
npx skills add https://github.com/Cap-go/capgo-skills --skill capacitor-plugins次のプロンプトを使用してください。
Use the `capacitor-plugins` skill from `Cap-go/capgo-skills` to install the `@capgo/capacitor-in-app-review` plugin in my project.If you prefer Manual Setup, install the plugin by running the following commands and follow the platform-specific instructions below:
bun add @capgo/capacitor-in-app-reviewbunx cap syncImport
Section titled “Import”import { CapgoInAppReview } from '@capgo/capacitor-in-app-review';requestReview
Section titled “requestReview”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.
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 __CAPGO_KEEP_0__。重要な注意事項:
- このメソッドを呼び出すたびにレビューダイアログが表示されない可能性があります。 AppleとGoogleは、ダイアログが表示される頻度を制限するガイドラインを提示しています。
- ユーザーがレビューを表示する保証はありません。
- ダイアログが表示されなかった場合でも、このメソッドは正常に解決されます。
- ユーザーがボタンをタップしたときに呼び出すのではなく、自然なポイントでアプリのユーザーフローの中で呼び出してください。
import { CapgoInAppReview } from '@capgo/capacitor-in-app-review';
// Request a review at an appropriate moment in your appawait CapgoInAppReview.requestReview();真実の源
「真実の源」というセクションこのページはプラグインの src/definitions.ts. 公開APIのAPIがアップストリームで変更された場合に、再度Syncを実行してください。
Getting Startedから続けてください
「Getting Startedから続けてください」というセクションこの機能を使用している場合 バープーコンター、コンターバーストスト。 バストスト、バープーコンター、バストスト、バープーコンター。 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.