시작하기
이 플러그인의 설치 단계와 전체 마크다운 가이드가 포함된 설정 프롬프트를 복사하세요.
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.수동 설정을 선호한다면, 다음 명령어를 실행하여 플러그인을 설치하고 아래의 플랫폼별 지침을 따르세요:
npm install @capgo/capacitor-native-marketnpx cap sync가져오기
“Import” 섹션import { NativeMarket } from '@capgo/capacitor-native-market';빠른 시작
“빠른 시작” 섹션import { NativeMarket } from '@capgo/capacitor-native-market';
await NativeMarket.openStoreListing({ appId: 'com.example.app' });예시: Play Store 검색 (Android)
“예시: Play Store 검색 (Android)” 섹션import { NativeMarket } from '@capgo/capacitor-native-market';
await NativeMarket.search({ terms: 'fitness tracker' });자주 하는 실수
“흔한 실수” 섹션- Bundle vs package: iOS는 App Store bundle id를 사용하고, Android는 application id를 사용합니다.
- Android 전용: guard
openDevPage및openCollection포함Capacitor.getPlatform(). - 외부 UI: 스토어 UI는 WebView 외부에서 열리므로, 딥링크 반환 계획을 별도로 세워야 합니다.
API 개요
“API 개요” 섹션openStoreListing
“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
“openDevPage” 섹션Play Store의 개발자 페이지로 직접 딥링크합니다. Android 전용.
import { NativeMarket } from '@capgo/capacitor-native-market';
await NativeMarket.openDevPage({ devId: 'Google+LLC'});openCollection
“openCollection” 섹션Play Store의 컬렉션 또는 인기 차트로 사용자를 연결합니다. Android 전용.
import { NativeMarket } from '@capgo/capacitor-native-market';
await NativeMarket.openCollection({ name: 'featured'});openEditorChoicePage
“openEditorChoicePage” 섹션사용자를 Play Store의 'Editor’s choice' 페이지로 연결합니다. Android 전용.
import { NativeMarket } from '@capgo/capacitor-native-market';
await NativeMarket.openEditorChoicePage({ editorChoice: 'editorial_fitness_apps_us'});search
“search”라는 제목의 섹션사용자 지정 검색어로 Play Store를 검색합니다. Android 전용.
import { NativeMarket } from '@capgo/capacitor-native-market';
await NativeMarket.search({ terms: 'fitness apps'});Source of Truth
“Source Of Truth” 섹션이 페이지는 플러그인의 src/definitions.tsupstream에서 public API가 변경되면 sync를 다시 실행하세요.
시작하기 다음 단계
“Getting Started에서 계속하기” 섹션사용 중이라면 시작하기 대시보드 및 API 운영을 계획하려면, 이를 다음과 연결하세요 @capgo/capacitor-native-market 사용하기 @capgo/capacitor-native-market를 사용하여 native 기능을 구현하려면, API 개요 구현 세부 사항은 API 개요에서 소개 구현 세부 사항은 소개에서 API 키 API Keys의 구현 세부 사항은, 기기 Devices의 구현 세부 사항은.