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-native-market`
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/native-market/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.
설치
설치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-native-market` plugin in my project.만약 Manual Setup을 선호한다면, 플러그인을 설치하기 위해 다음 명령어를 실행하고 아래에 플랫폼에 따라 설명된 지침을 따르세요:
npm install @capgo/capacitor-native-marketnpx cap syncimport
Section titled “Import”import { NativeMarket } from '@capgo/capacitor-native-market';API 개요
Section titled “API 개요”openStoreListing
Section titled “openStoreListing”Play Store (Android) 또는 App Store (iOS)에서 앱 목록 페이지를 열어줍니다.
import { NativeMarket } from '@capgo/capacitor-native-market';
// Open app in storeawait NativeMarket.openStoreListing({ appId: 'com.example.app'});
// Open app in specific country store (iOS only)await NativeMarket.openStoreListing({ appId: 'com.example.app', country: 'IT'});openDevPage
Section titled “openDevPage”Play Store에서 개발자의 페이지로 직접 링크합니다. Android만 지원합니다.
import { NativeMarket } from '@capgo/capacitor-native-market';
await NativeMarket.openDevPage({ devId: 'Google+LLC'});openCollection
Section titled “openCollection”Play Store에서 사용자에게 컬렉션 또는 탑 차트를 연결합니다. Android만 지원합니다.
import { NativeMarket } from '@capgo/capacitor-native-market';
await NativeMarket.openCollection({ name: 'featured'});openEditorChoicePage
openEditorChoicePagePlay Store의 Editor의 선택 페이지로 사용자를 연결합니다. Android 전용.
import { NativeMarket } from '@capgo/capacitor-native-market';
await NativeMarket.openEditorChoicePage({ editorChoice: 'editorial_fitness_apps_us'});search
searchPlay Store에서 사용자 지정 검색어로 검색합니다. Android 전용.
import { NativeMarket } from '@capgo/capacitor-native-market';
await NativeMarket.search({ terms: 'fitness apps'});이 페이지는 플러그인의 src/definitions.tspublic API이 업스트림에서 변경될 때 다시 싱크를 실행하세요.
Getting Started에서 계속 진행하세요
Getting Started에서 계속하기__CAPGO_KEEP_0__을 사용하는 경우 Getting Started API과 API 연동을 통해 capgo/capacitor-native-market @capgo/capacitor-native-market 사용 capgo/capacitor-native-market @capgo/capacitor-native-market의 네이티브 기능을 위해 API 개요 API 개요의 구현 세부 정보를 위해 소개 소개의 구현 세부 정보를 위해 API 키 API 키의 구현 세부 정보를 위해 __CAPGO_KEEP_0__ __CAPGO_KEEP_1__