Native Market __CAPGO_KEEP_0__ リポジトリ
このプラグインのインストール手順とフルマークダウンガイドを含むセットアッププロンプトをコピーしてください。
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のAIアシストセットアップを使用してプラグインをインストールできます。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
「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
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がアップストリームで変更されたら、再度同期を実行してください。
「はじめから始める」
「はじめから始める」あなたが 「はじめから始める」 を使用してダッシュボードとAPIの作業を計画している場合、APIを Using @capgo/capacitor-native-market Using @capgo/capacitor-native-market APIの概要 Capgoの実装詳細についてはAPIの概要を参照してください。 概要 Capgoの実装詳細については概要を参照してください。 APIのキー Capgoの実装詳細についてはAPIのキー、 デバイス Capgoの実装詳細についてはデバイスを参照してください。