Questions tagged [plugman]

Apache Plugman Cordova

A command line tool to install and uninstall plugins for use with Apache Cordova projects.

http://cordova.apache.org/docs/en/3.0.0/plugin_ref_spec.md

https://github.com/apache/cordova-plugman/

40 questions
9
votes
3 answers

Cannot read property 'fail' of undefined plugman

I am having problem installing a custom plugin in Cordova. plugman -d install --platform android --project platforms\android --plugin plugins\PrintName error: Cannot read property 'fail' of undefined TypeError: Cannot read property 'fail' of…
Krups
  • 407
  • 6
  • 13
7
votes
1 answer

List plugins with plugman

I'm reviewing plugman, but it seems it is quite completed to use and I can't figure out how I'm I supposed to know which plugins are installed. How can I know which plugins are installed? How do I version this?
danielrvt
  • 10,177
  • 20
  • 80
  • 121
5
votes
0 answers

Cordova 3.5, how to update local plugin?

I just created my first Cordova plugin and i would like to ask how can i reflect changes in files located in: /app/plugins/org.cool.plugin I changed content of plugin.xml file and I added some code in Java class. After that i run cordova build…
redrom
  • 11,502
  • 31
  • 157
  • 264
4
votes
0 answers

Plugman: Is it possible to watch a local plugin and automatically install it in the Cordova project

I'm working on a Cordova plugin. I have a local repo for my plugin, and each time I want to test my code, I have to uninstall the plugin, then reinstall it (and its dependencies), then build the project on my device. It's kinda heavy. Is that the…
Maslow
  • 1,084
  • 9
  • 22
3
votes
1 answer

Use plug man to install a phone gap plugin iOs

am having a tuff time integrating a bar code plugin into my cordova project using plug man. I went through the plug man documentation and followed what the command which they suggested ie. Syntax: plugman install --platform --project --plugin …
nuteron
  • 531
  • 2
  • 8
  • 26
2
votes
3 answers

Ionic Plugin Creation Using Plugman

I'm new to Ionic and Cordova. I need to create a plugin for ionic using Cordova and integrate it in sample ionic app. Steps I Followed are: Created a simple ionic plugin using plugman plugman create --name SayHello --plugin_id…
Saurabh Pandey
  • 519
  • 2
  • 15
2
votes
4 answers

pkg is not defined when using Plugman

I'm getting pkg is not defined when attempting to sudo plugman createpackagejson {path of plugin} I can see there's plenty on Github about this issue but no precise directions on work around or how to fix it. Please could someone advise?
Ben Morris
  • 282
  • 3
  • 13
2
votes
1 answer

How to install "cordova-plugin-whitelist" from command line

I am following Phonegap official tutorial. I have downloaded Phonegap android base project and now I am trying to add plugins to "Hello World" app but it's throwing below error Command line…
Rahul Matte
  • 1,151
  • 2
  • 23
  • 54
2
votes
0 answers

Plugman installs to platform_www and NOT to www as it used to in Cordova 6.1

I have an app built with an older version of Cordova, 3.x . Which I now want to upgrade to Cordova 6.1 . For Android using platform specific workflow. When I created that one, I used cordova cli first, then added plugins with plugman and kept…
Vero
  • 1,742
  • 3
  • 15
  • 29
2
votes
1 answer

fileName.java:1 error ';' expected - Visual Studio Cordova Build with Android plugin

I have used the plugman command from the tutorial . It has created the necessary files for a test plugin which I have not amended. I have added the plugin to my cordova visual studio project using the Plugins tab of config.xml to this local…
user487779
  • 550
  • 5
  • 12
2
votes
1 answer

Cordova plugman with new plugin names

According to this announcement from Cordova, we should start using new plugin IDs (e.g. cordova-plugin-* instead of org.apache.cordova.*). However, I don't use the Cordova CLI, and I install my plugins manually using plugman. In that situation, how…
JW.
  • 50,691
  • 36
  • 115
  • 143
2
votes
3 answers

Not able to install plugin through Plugman in Phonegap

I am not able to install a plugin through Plugman in Cordova. I check following links but did not work for me : Link 1 Link 2 Below are the steps that I performed : Installing Plugman through npm install -g plugman : Success Creating a Cordova…
Siddharth_Vyas
  • 9,972
  • 10
  • 39
  • 69
1
vote
0 answers

cordova plugman - plugin version management

enviroment versions: cordova: 7.1.0 plugman: 1.5.1 I have Installed plugmanand installed few plugins using it for iOS and Android platforms. I have noticed that the plugins i have installed with plugman are not represented in config.xml. Now, in…
LiranC
  • 2,400
  • 1
  • 27
  • 55
1
vote
1 answer

cordova plugin installation to a IBM MobileFirst 7.1 project using plugman

When I am trying to add a cordova plugin to MobileFirst 7.1 project using plugman, cmd is giving "Access is denied" message. Can any one help me to add plugin using plugman to a MobileFirst 7.1 project. Below is the command used to install plugin…
Nanda
  • 47
  • 5
1
vote
0 answers

How can I cleanly automate Cordova plugin management in non-Cordova based android application?

Preface I have an android app that was already prebuilt but I later decided I wanted to add Cordova functionality by embedding it in the webviews. I was able to accomplish this by following the instructions here on the Cordova official…
ImJoe
  • 21
  • 4
1
2 3