시작하기
설치 단계와 이 플러그인에 대한 전체 마크다운 가이드를 포함한 설정 지시어를 복사합니다.
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.
설치
설치 제목bun add @capgo/capacitor-in-app-reviewbunx cap sync임포트
임포트 제목import { CapgoInAppReview } from '@capgo/capacitor-in-app-review';API 개요
API 개요 제목requestReview
요청 검토사용자에게 앱 내 검토를 요청합니다.
이 메서드는 플랫폼에서 제공하는 네이티브 앱 내 검토 대화 상자를 트리거합니다. iOS에서는 SKStoreReviewController를 사용하고, Android에서는 Play In-App Review API를 사용합니다.
중요한 주의사항:
- 검토 대화 상자가 매번 이 메서드를 호출할 때마다 표시되지 않을 수 있습니다. 애플과 구글 모두 사용자에게 표시되는 횟수를 제한하는 지침을 가지고 있습니다.
- 사용자가 검토 대화 상자를 볼 수 있는 보장은 없습니다.
- 대화 상자가 표시되지 않았더라도 메서드는 성공적으로 해결됩니다.
- 사용자 동작에 대한 응답으로 이 메서드를 호출하지 마세요. 대신 앱의 사용자 흐름의 자연스러운 지점에서 호출하세요.
import { CapgoInAppReview } from '@capgo/capacitor-in-app-review';
// Request a review at an appropriate moment in your appawait CapgoInAppReview.requestReview();소스 오브 트루스
원본의 진실이 페이지는 플러그인의 src/definitions.ts공개 API이 업스트림에서 변경되면 다시 싱크를 실행하세요.