Market

Improve this doc

$ ionic plugin add cordova-plugin-market
$ npm install --save @ionic-native/market

Repo: https://github.com/xmartlabs/cordova-plugin-market

Opens an app's page in the market place (Google Play, App Store)

Supported platforms

Usage

import { Market } from '@ionic-native/market';

constructor(private market: Market) { }

...

this.market.open('your.package.name');

Instance Members

open(appId)

Opens an app in Google Play / App Store

Param Type Details
appId string

Package name

Returns: Promise<any>

search(keyword)

Platforms:Android 

Search apps by keyword

Param Type Details
keyword string

Keyword

Returns: Promise<any>

API

Native

General