시작하기
설치 단계와 이 플러그인에 대한 전체 마크다운 가이드를 포함하여 플러그인 설정 프롬프트 복사하기
Set up this Capacitor plugin in the project.
Use the package manager already used by the project.
Install these package(s): `@capgo/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.
설치
설치bun add @capgo/native-marketbunx cap sync수입
수입import { NativeMarket } from '@capgo/native-market';API 개요
API 개요 제목openStoreListing
__CAPGO_KEEP_0__ 섹션 제목Play Store (안드로이드) 또는 App Store (iOS)에서 앱 목록 페이지를 열어줍니다.
import { NativeMarket } from '@capgo/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
__CAPGO_KEEP_0__ 개발자 페이지 열기개발자의 페이지를 직접 링크합니다. (안드로이드만)
import { NativeMarket } from '@capgo/native-market';
await NativeMarket.openDevPage({ devId: 'Google+LLC'});openCollection
__CAPGO_KEEP_0__ 컬렉션 열기Play Store의 컬렉션 또는 탑 차트에 연결합니다. (안드로이드만)
import { NativeMarket } from '@capgo/native-market';
await NativeMarket.openCollection({ name: 'featured'});openEditorChoicePage
Section titled “openEditorChoicePage”Play Store의 Editor의 선택 페이지로 이동하세요. (Android 전용)
import { NativeMarket } from '@capgo/native-market';
await NativeMarket.openEditorChoicePage({ editorChoice: 'editorial_fitness_apps_us'});search
Section titled “search”Play Store에서 사용자 지정 검색어로 검색하세요. (Android 전용)
import { NativeMarket } from '@capgo/native-market';
await NativeMarket.search({ terms: 'fitness apps'});Source Of Truth
Section titled “Source Of Truth”이 페이지는 플러그인의 src/definitions.ts업스트림의 API이 변경되면 다시 싱크를 실행하세요.