Skip to main content
Back to plugins
@capgo/native-market
Tutorial
by github.com/Cap-go

Native Market

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

Guide

Tutorial on Native Market

Using @capgo/native-market

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

Install

bun add @capgo/native-market
bunx 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/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/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/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/native-market';

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

Full Reference