Skip to content

Error on scanner click function #1

@marcwhitbread

Description

@marcwhitbread
2014-08-10 12:59:37.166 Grocery[6356:60b] CDVPlugin class com.phonegap.plugins.barcodescanner.BarcodeScanner (pluginName: BarcodeScanner) does not exist.
2014-08-10 12:59:37.166 Grocery[6356:60b] ERROR: Plugin 'BarcodeScanner' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml.
2014-08-10 12:59:37.167 Grocery[6356:60b] -[CDVCommandQueue executePending] [Line 158] FAILED pluginJSON = [
  "BarcodeScanner890466376",
  "BarcodeScanner",
  "scan",
  [

  ]
]

Config.xml has the following added:

<feature name="BarcodeScanner">
    <param name="android-package" value="com.phonegap.plugins.barcodescanner.BarcodeScanner" />
    <param name="ios-package" value="com.phonegap.plugins.barcodescanner.BarcodeScanner" />
</feature>

<!-- phonegap directives -->
<gap:plugin name="com.phonegap.plugins.barcodescanner" />

Is there a reason why your config.xml is in www in stead of in the project root?

Any ideas where I might look to confirm that com.phonegap.plugins.barcodescanner.BarcodeScanner has been installed correctly? (it's appearing in the project /plugins/ folder)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions