개발 시작
설치 단계와 이 플러그인의 전체 마크다운 가이드를 포함한 설정 프롬프트를 복사하세요.
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
Import 섹션import { NativeMarket } from '@capgo/capacitor-native-market';API 개요
API 개요 섹션openStoreListing
openStoreListingPlay 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
Section titled “openEditorChoicePage”Play Store의 에디터의 선택 페이지로 사용자에게 연결합니다. Android 전용.
import { NativeMarket } from '@capgo/capacitor-native-market';
await NativeMarket.openEditorChoicePage({ editorChoice: 'editorial_fitness_apps_us'});search
Section titled “search”Play Store에서 사용자 지정 검색어로 검색합니다. Android 전용.
import { NativeMarket } from '@capgo/capacitor-native-market';
await NativeMarket.search({ terms: 'fitness apps'});원본의 진실
원본의 진실 섹션이 페이지는 플러그인의 src/definitions.ts공개 API이 업스트림에서 변경될 때 다시 싱크를 실행하세요.
Getting Started에서 계속
Getting Started에서 계속 섹션이 플러그인을 사용하는 경우 Getting Started 계획 대시보드 및 API 운영을 위해 Using @capgo/capacitor-native-market Using @capgo/capacitor-native-market API 개요 Capgo 구현 세부 정보에 대한 API 개요 소개 Capgo 구현 세부 정보에 대한 소개 API 키 Capgo 구현 세부 정보에 대한 API 키 및 장치 Capgo 구현 세부 정보에 대한 장치