Skip to main content
@capgo/capacitor-native-market Renamed Renamed from @capgo/native-market to @capgo/capacitor-native-market. Commerce Open source

Native Market Capacitor plugin

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

Install

bun add @capgo/capacitor-native-market bunx cap sync
npm, pnpm or yarn
  • npm install @capgo/capacitor-native-market
  • pnpm add @capgo/capacitor-native-market
  • yarn add @capgo/capacitor-native-market

Guide

How to use Native Market in Capacitor

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.

FAQ

Native Market plugin FAQ

How do I install the Native Market plugin in a Capacitor app?

Run "bun add @capgo/capacitor-native-market" (or "npm install @capgo/capacitor-native-market"), then run "bunx cap sync" so the iOS and Android projects pick up the native code. Import it from "@capgo/capacitor-native-market" in your app code.

Does @capgo/capacitor-native-market work with React, Vue and Angular?

Yes. Native Market is a Capacitor package, so it works with any web framework that runs inside Capacitor, including Ionic, React, Vue, Angular, Svelte and plain JavaScript.

Which Capacitor version does @capgo/capacitor-native-market support?

Capgo plugins follow Capacitor's major version: use the plugin major version that matches your Capacitor major version (for example plugin v8 with Capacitor 8). The compatibility table in the GitHub README lists the maintained versions.

Is @capgo/capacitor-native-market free and open source?

Yes. The source code is public on GitHub at https://github.com/Cap-go/capacitor-native-market/ and the package is free to install from npm. Bug reports and pull requests are welcome.

Can I update code that uses Native Market without an App Store review?

Installing or upgrading the plugin changes native code, so it needs a new store build. After that, JavaScript, HTML and CSS changes that call the plugin can ship instantly with Capgo live updates.

Ship Native Market changes without waiting for app review

Once the plugin is in your store build, Capgo live updates push your JavaScript, HTML and CSS changes to users in minutes.

Start with Capgo