Démarrage
Copier un prompt de configuration avec les étapes d'installation et le guide Markdown complet pour ce plugin.
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.
Installation
Section intitulée “Installation”bun add @capgo/native-marketbunx cap syncImporter
Section intitulée “Importer”import { NativeMarket } from '@capgo/native-market';API Vue d'ensemble
Section intitulée « API Vue d'ensemble »openStoreListing
Section intitulée « openStoreListing »Lancer la page de liste d'applications sur Google Play (Android) ou sur l'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
Section intitulée « openDevPage »Rediriger directement vers la page d'un développeur sur Google Play.
import { NativeMarket } from '@capgo/native-market';
await NativeMarket.openDevPage({ devId: 'Google+LLC'});openCollection
Copier dans le presse-papierSection intitulée « openCollection »
import { NativeMarket } from '@capgo/native-market';
await NativeMarket.openCollection({ name: 'featured'});openEditorChoicePage
Section intitulée “pageChoixEditeur”Lier les utilisateurs à la page Choix de l'éditeur sur le Play Store. Seulement Android.
import { NativeMarket } from '@capgo/native-market';
await NativeMarket.openEditorChoicePage({ editorChoice: 'editorial_fitness_apps_us'});Rechercher le Play Store avec des termes de recherche personnalisés. Seulement Android.
import { NativeMarket } from '@capgo/native-market';
await NativeMarket.search({ terms: 'fitness apps'});Source De Vérité
Section intitulée “Source De Vérité”Cette page est générée à partir du plugin’s src/definitions.tsRe-run la synchronisation lorsque les modifications publiques API changent en amont.