Skip to main content
Back to plugins
@capgo/capacitor-native-market Renamed Renamed from @capgo/native-market to @capgo/capacitor-native-market.
Tutorial
@capgo/capacitor-native-market

Native Market

Deep link users directly to your app page on Google Play Store or Apple App Store

Guide

Tutorial on Native Market

Test on device

Download the Capgo app, then scan the QR code.

Native Market plugin preview QR code

Using @capgo/capacitor-native-market

Capacitor Native Market Plugin for opening app store listings and pages.

Install

npm install @capgo/capacitor-native-market
npx cap sync

What This Plugin Exposes

  • openStoreListing - Launch app listing page in Play Store (Android) or App Store (iOS).
  • openDevPage - Deep-link directly to a developer's page in the Play Store. Android only.
  • openCollection - Link users to a collection or top charts in the Play Store. Android only.
  • openEditorChoicePage - Link users to Editor's choice page in the Play Store. Android only.

Example Usage

openStoreListing

Launch app listing page in Play Store (Android) or 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'
});

openDevPage

Deep-link directly to a developer's page in the Play Store. Android only.

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

await NativeMarket.openDevPage({
  devId: 'Google+LLC'
});

openCollection

Link users to a collection or top charts in the Play Store. Android only.

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

await NativeMarket.openCollection({
  name: 'featured'
});

openEditorChoicePage

Link users to Editor's choice page in the Play Store. Android only.

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

await NativeMarket.openEditorChoicePage({
  editorChoice: 'editorial_fitness_apps_us'
});

Full Reference

Keep going from Using @capgo/capacitor-native-market

If you are using Using @capgo/capacitor-native-market to plan store approval and distribution, connect it with @capgo/capacitor-native-market for the implementation detail in @capgo/capacitor-native-market, Getting Started for the implementation detail in Getting Started, @capgo/capacitor-in-app-review for the implementation detail in @capgo/capacitor-in-app-review, Using @capgo/capacitor-in-app-review for the native capability in Using @capgo/capacitor-in-app-review, and Capacitor OTA Updates: App Store Approval Guide for the practical context in Capacitor OTA Updates: App Store Approval Guide.