From 8988fad713bf3e700a6b5417e3b71c0dbe90f8e4 Mon Sep 17 00:00:00 2001 From: Nakul Gulati Date: Fri, 18 Nov 2016 17:08:42 +0530 Subject: [PATCH] Plugin reference fix The plugin reference is available as part of the global `cordova` object and not the global `plugins` object. This caused the plugin to `Plugin not installed warning` even though the plugin is installed and works when using through `cordova.plugins.market.open(appId);` --- src/plugins/market.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/market.ts b/src/plugins/market.ts index 70a97bca4..197ac6ab1 100644 --- a/src/plugins/market.ts +++ b/src/plugins/market.ts @@ -15,7 +15,7 @@ import { Plugin, Cordova } from './plugin'; @Plugin({ pluginName: 'Market', plugin: 'cordova-plugin-market', - pluginRef: 'plugins.market', + pluginRef: 'cordova.plugins.market', repo: 'https://github.com/xmartlabs/cordova-plugin-market' }) export class Market {