メニューに進む

Getting Started

GitHub

__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-market
npx cap sync
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'
});

Play Store での開発者のページに直接リンクします。 Android 限定

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

openCollection

openCollection

Play Storeのコレクションまたはトップチャートにユーザーをリンクします。 Androidのみ。

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

openEditorChoicePage

openEditorChoicePage

Play Storeのエディターの選択ページにユーザーをリンクします。 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'
});

真実の源

真実の源

このページはプラグインから生成されています。 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 キーと デバイス デバイスの実装詳細