> For the complete documentation index, see [llms.txt](https://danielsogl.gitbook.io/awesome-cordova-plugins/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://danielsogl.gitbook.io/awesome-cordova-plugins/plugins/plugins/barcode-scanner.md).

# Barcode Scanner

> **Deprecated.** The underlying `phonegap-plugin-barcodescanner` plugin is deprecated following the PhoneGap shutdown and has no maintained Cordova successor.

The Barcode Scanner Plugin opens a camera view and automatically scans a barcode, returning the data back to you.

Requires Cordova plugin: `phonegap-plugin-barcodescanner`. For more info, please see the [BarcodeScanner plugin docs](https://github.com/phonegap/phonegap-plugin-barcodescanner).

## Installation

```bash
ionic cordova plugin add phonegap-plugin-barcodescanner
npm install @awesome-cordova-plugins/barcode-scanner
```

**Plugin Repo:** <https://github.com/phonegap/phonegap-plugin-barcodescanner>

## Supported Platforms

* Android
* Browser
* iOS

## Further Information

* [Installation Guide](/awesome-cordova-plugins/installation.md)
* [FAQ](/awesome-cordova-plugins/faq.md)
