Reputation: 541
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 [--variable NAME=VALUE]
My Example: plugman install --platform iOS --project ~/Users/gundalasubbareddy/Desktop/BarCodeReader --plugin ~/Users/gundalasubbareddy/Downloads/BarcodeScanner-master
The output what i get is this:
$ plugman install --platform <platform> --project <directory> --plugin <plugin> [--variable NAME=VALUE]
Parameters:
$ plugman uninstall --platform <platform> --project <directory> --plugin <plugin-id>
Parameters: - plugin : The plugin to remove, identified by its id (see the plugin.xml's attribute)
--debug|-d : Verbose mode
--help|-h : Displays this message
--version|-v : Displays version
$ plugman adduser
$ plugman publish <directory>
$ plugman unpublish <name>@<version>
$ plugman search <keyword1 keyword2 ...>
$ plugman info plugin
$ plugman config set registry http://localhost:5984/registry/_design/app/_rewrite
$ plugman config get registry
$ plugman owner ls org.apache.cordova.core.file
$ plugman owner add username org.apache.cordova.core.file
$ plugman owner rm username org.apache.cordova.core.file
I don't see the plugin installed into my project. Please help me where am i doing wrong. Thanks santosh
Upvotes: 3
Views: 2861
Reputation: 4746
I think your problem is the fact that 'iOS' should be 'ios'.
So change your line to:
plugman install --platform ios --project ~/Users/gundalasubbareddy/Desktop/BarCodeReader --plugin ~/Users/gundalasubbareddy/Downloads/BarcodeScanner-master
Upvotes: 1