Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Commit

Permalink
Also update README
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile authored and macdonst committed Apr 30, 2018
1 parent 39b729c commit 4154528
Showing 1 changed file with 18 additions and 27 deletions.
45 changes: 18 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ phonegap plugin add phonegap-plugin-barcodescanner --variable ANDROID_SUPPORT_V4
- Android
- iOS
- Windows (Windows/Windows Phone 8.1 and Windows 10)
- Windows Phone 8
- BlackBerry 10
- Browser

Note: the Android source for this project includes an Android Library Project.
Expand Down Expand Up @@ -61,24 +59,24 @@ The plugin creates the object `cordova.plugins.barcodeScanner` with the method `

The following barcode types are currently supported:

| Barcode Type | Android | iOS | Windows8 | Windows Phone 8 | BlackBerry 10 |
|---------------|:-------:|:---:|:--------:|:---------------:|:-------------:|
| QR_CODE ||||||
| DATA_MATRIX ||||||
| UPC_A ||||||
| UPC_E ||||||
| EAN_8 ||||||
| EAN_13 ||||||
| CODE_39 ||||||
| CODE_93 || | || |
| CODE_128 ||||||
| CODABAR ||||||
| ITF ||||||
| RSS14 ||||||
| PDF417 || | || |
| RSS_EXPANDED ||||||
| MSI ||||||
| AZTEC || | || |
| Barcode Type | Android | iOS | Windows |
|---------------|:-------:|:---:|:--------:|
| QR_CODE ||||
| DATA_MATRIX ||||
| UPC_A ||||
| UPC_E ||||
| EAN_8 ||||
| EAN_13 ||||
| CODE_39 ||||
| CODE_93 || ||
| CODE_128 ||||
| CODABAR ||||
| ITF ||||
| RSS14 ||||
| PDF417 || ||
| RSS_EXPANDED ||||
| MSI ||||
| AZTEC || ||

`success` and `fail` are callback functions. Success is passed an object with data, type and cancelled properties. Data is the text representation of the barcode data, type is the type of barcode detected and cancelled is whether or not the user cancelled the scan.

Expand Down Expand Up @@ -153,13 +151,6 @@ To add this entry you can use the `edit-config` tag in the `config.xml` like thi

* On Windows 10 desktop ensure that you have Windows Media Player and Media Feature pack installed.

## Windows Phone 8 quirks ##
Windows Phone 8 implementation currently doesn't support encode functionality.

## BlackBerry 10 quirks
BlackBerry 10 implementation currently doesn't support encode functionality.
Cancelling a scan on BlackBerry 10 is done by touching the screen.

## Thanks on Github ##

So many -- check out the original [iOS](https://github.com/phonegap/phonegap-plugins/tree/DEPRECATED/iOS/BarcodeScanner), [Android](https://github.com/phonegap/phonegap-plugins/tree/DEPRECATED/Android/BarcodeScanner) and
Expand Down

0 comments on commit 4154528

Please sign in to comment.