Getting Started
インストール手順とこのプラグインのフルマークダウンガイドまでの手順を含むセットアップの案内をコピーしてください。
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.
__CAPGO_KEEP_1__
__CAPGO_KEEP_2__AI-Assisted セットアップを使用してプラグインをインストールすることができます。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 セットアップを使用する場合は、以下のコマンドを実行してプラグインをインストールし、以下のプラットフォーム固有の指示に従ってください。
npm install @capgo/capacitor-native-marketnpx cap syncインポート
「インポート」のセクションimport { NativeMarket } from '@capgo/capacitor-native-market';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
openCollectionPlay Storeのコレクションまたはトップチャートにユーザーをリンクします。 Androidのみ。
import { NativeMarket } from '@capgo/capacitor-native-market';
await NativeMarket.openCollection({ name: 'featured'});openEditorChoicePage
openEditorChoicePagePlay Storeのエディターの選択ページにユーザーをリンクします。 Androidのみ。
import { NativeMarket } from '@capgo/capacitor-native-market';
await NativeMarket.openEditorChoicePage({ editorChoice: 'editorial_fitness_apps_us'});search
searchPlay Storeでカスタム検索用語で検索します。 Androidのみ。
import { NativeMarket } from '@capgo/capacitor-native-market';
await NativeMarket.search({ terms: 'fitness apps'});真実の源
真実の源このページはプラグインから生成されています。 src/definitions.ts. upstream の API が変更されたときに再度 sync を実行してください。
Getting Started から続けてください。
Getting Started から続けてください。あなたが「Getting Started から続けてください。」を使用している場合 Getting Started ダッシュボードと API の作業を計画するには、を接続してください。 native capability を使用するには @capgo/capacitor-native-market を使用してください。 native capability を使用するには @capgo/capacitor-native-market を使用してください。 API の概要 API の実装詳細 __CAPGO_KEEP_0__ の実装詳細 導入 API キー API キーと デバイス デバイスの実装詳細