시작하기
설치
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
Importimport { NativeMarket } from '@capgo/capacitor-native-market';API 개요
Section titled “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
개발 시작Play Store에서 개발자 페이지로 직접 링크합니다. Android 전용.
import { NativeMarket } from '@capgo/capacitor-native-market';
await NativeMarket.openDevPage({ devId: 'Google+LLC'});openCollection
openCollectionPlay Store에서 사용자에게 컬렉션 또는 탑 차트를 연결합니다. Android 전용.
import { NativeMarket } from '@capgo/capacitor-native-market';
await NativeMarket.openCollection({ name: 'featured'});openEditorChoicePage
“openEditorChoicePage” 제목플레이 스토어의 편집자 추천 페이지로 사용자를 연결합니다. 안드로이드 전용.
import { NativeMarket } from '@capgo/capacitor-native-market';
await NativeMarket.openEditorChoicePage({ editorChoice: 'editorial_fitness_apps_us'});search
“search” 제목사용자 지정 검색어로 플레이 스토어를 검색합니다. 안드로이드 전용.
import { NativeMarket } from '@capgo/capacitor-native-market';
await NativeMarket.search({ terms: 'fitness apps'});실질적인 출처
“실질적인 출처” 제목이 페이지는 플러그인의 src/definitions.tspublic API이 업스트림에서 변경될 때 다시 싱크를 실행하세요.
Getting Started에서 계속
Getting Started만약에 Getting Started 계획 대시보드와 API 운영을 계획하고 연결하려면 @capgo/capacitor-네이티브 마켓 사용 native market 기능을 사용하는 데 필요한 @capgo/capacitor 플러그인 설치 API 개요 API 개요 시작하기 시작하기 API 키 for API Keys의 구현 세부 사항에 대해 장치 __CAPGO_KEEP_0__