From 650899d88cbecf2fa45859b5ec747be7e52671a4 Mon Sep 17 00:00:00 2001 From: Max Lynch Date: Mon, 13 Sep 2021 13:39:26 -0500 Subject: [PATCH] Removed market - unmaintained --- src/@ionic-native/plugins/market/index.ts | 57 ----------------------- 1 file changed, 57 deletions(-) delete mode 100644 src/@ionic-native/plugins/market/index.ts diff --git a/src/@ionic-native/plugins/market/index.ts b/src/@ionic-native/plugins/market/index.ts deleted file mode 100644 index 32c5b7486..000000000 --- a/src/@ionic-native/plugins/market/index.ts +++ /dev/null @@ -1,57 +0,0 @@ -import { Injectable } from '@angular/core'; -import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; -/** - * @name Market - * @description - * Opens an app's page in the market place (Google Play, App Store) - * - * @usage - * ```typescript - * import { Market } from '@ionic-native/market/ngx'; - * - * constructor(private market: Market) { } - * - * ... - * - * this.market.open('your.package.name'); - * - * ``` - */ -@Plugin({ - pluginName: 'Market', - plugin: 'cordova-plugin-market', - pluginRef: 'cordova.plugins.market', - repo: 'https://github.com/xmartlabs/cordova-plugin-market', - platforms: ['Android', 'iOS'], -}) -@Injectable() -export class Market extends IonicNativePlugin { - /** - * Opens an app in Google Play / App Store - * @param appId {string} Package name - * @return {Promise} - */ - @Cordova({ - callbackStyle: 'object', - successName: 'success', - errorName: 'failure', - }) - open(appId: string): Promise { - return; - } - - /** - * Search apps by keyword - * @param keyword {string} Keyword - * @return {Promise} - */ - @Cordova({ - callbackStyle: 'object', - successName: 'success', - errorName: 'failure', - platforms: ['Android'], - }) - search(keyword: string): Promise { - return; - } -}