You can use the BarcodeScanner plugin to scan different types of barcodes (using the device's camera) and get the metadata encoded in them for processing within your application.
More information could be available on the GitHub README.

Installation is done via the Cordova CLI.

Install BarcodeScanner using the latest version from GitHub:

$ cordova plugin add https://github.com/Telerik-Verified-Plugins/BarcodeScanner.git

Install the latest published version (2.0.1):

$ cordova plugin add com.phonegap.plugins.barcodescanner

Supported Platforms
  • Android
  • BlackBerry 10
  • Fire OS
  • Firefox OS
  • iOS
  • Ubuntu
  • Windows 8
  • Windows Phone 7
  • Windows Phone 8
Supported Engines
  • cordova

    >=3.0.0
Telerik-Verified-Plugins

Telerik-Verified-Plugins

All plugins by author View author on GitHub