컨텐츠로 바로가기

Getting Started

GitHub

설치

설치
터미널 창
npm install @capgo/capacitor-native-market
npx cap sync

import

import
import { NativeMarket } from '@capgo/capacitor-native-market';

앱 목록 페이지를 Play Store (Android) 또는 App Store (iOS)에서 열기.

import { NativeMarket } from '@capgo/capacitor-native-market';
// Open app in store
await NativeMarket.openStoreListing({
appId: 'com.example.app'
});
// Open app in specific country store (iOS only)
await NativeMarket.openStoreListing({
appId: 'com.example.app',
country: 'IT'
});

__CAPGO_KEEP_0__ 클립보드 복사

import { NativeMarket } from '@capgo/capacitor-native-market';
await NativeMarket.openDevPage({
devId: 'Google+LLC'
});

__CAPGO_KEEP_0__ 탑 차트 열기

import { NativeMarket } from '@capgo/capacitor-native-market';
await NativeMarket.openCollection({
name: 'featured'
});

openEditorChoicePage

openEditorChoicePage

Play Store의 Editor의 선택 페이지로 연결합니다. (Android만)

import { NativeMarket } from '@capgo/capacitor-native-market';
await NativeMarket.openEditorChoicePage({
editorChoice: 'editorial_fitness_apps_us'
});
search

Play Store에서 사용자 지정 검색어로 검색합니다. (Android만)

import { NativeMarket } from '@capgo/capacitor-native-market';
await NativeMarket.search({
terms: 'fitness apps'
});

public __CAPGO_KEEP_0__이 업스트림에서 변경될 때 다시 싱크를 실행합니다. src/definitions.ts. Re-run the sync when the public API changes upstream.

Getting Started에서 계속

Source Of Truth

If you are using __CAPGO_KEEP_0__ Getting Started API을 위한 대시보드와 API 연산을 계획하는 데 도움이 되는 Using @capgo/capacitor-native-market for the native capability in Using @capgo/capacitor-native-market, for the native capability in Using @API/__CAPGO_KEEP_1__-native-market API 개요 for the implementation detail in __CAPGO_KEEP_0__ Overview 소개 API Keys API 키 for the implementation detail in __CAPGO_KEEP_0__ Keys, and __CAPGO_KEEP_0__의 구현 세부 사항입니다.