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 설정을 사용하여 플러그인을 설치할 수 있습니다. 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.만약 Manual Setup을 선호한다면, 플러그인을 설치하기 위해 다음 명령어를 실행하고 아래의 플랫폼별 지침을 따르세요:
bun add @capgo/capacitor-in-app-reviewbunx cap syncImport
Import 제목import { CapgoInAppReview } from '@capgo/capacitor-in-app-review';API 개요
API 개요 섹션requestReview
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 . 업스트림에서 pubic API이 변경되면 다시 싱크를 실행하세요.
Getting Started에서 계속
‘Getting Started에서 계속’이라는 제목이 플러그인을 사용하는 경우 Getting Started 스토어 승인 및 배포를 계획하는 경우 Getting Started을 사용하고 Using @capgo/capacitor-in-app-review 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.