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

Commit

Permalink
Merge pull request #217 from Telerik-Verified-Plugins/merge-phonegap-…
Browse files Browse the repository at this point in the history
…official
  • Loading branch information
vladimir-kotikov committed May 5, 2016
2 parents 2a5e289 + 0cda49b commit bd6c295
Show file tree
Hide file tree
Showing 472 changed files with 1,533 additions and 49,321 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Expand Up @@ -2,5 +2,6 @@
bin/
.classpath
.project
.idea
*.iml
local.properties
local.properties
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -4,10 +4,10 @@ git:
node_js:
- "0.10"
install:
- echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
- echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
- cd ..
- npm install -g cordova-paramedic
- npm install -g cordova
- npm install -g ios-sim
script:
- cordova-paramedic --platform ios --plugin ${TRAVIS_BUILD_DIR}
- cordova-paramedic --platform ios --plugin ${TRAVIS_BUILD_DIR}
14 changes: 12 additions & 2 deletions README.md
Expand Up @@ -60,9 +60,12 @@ The following barcode types are currently supported:
* CODABAR
* ITF
* RSS14
* PDF417
* RSS_EXPANDED

Not by default, but supported if you pass in the "formats" option:
* PDF417
* AZTEC

### iOS

* QR_CODE
Expand Down Expand Up @@ -125,7 +128,7 @@ The following barcode types are currently supported:
`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.

A full example could be:
```
```js
cordova.plugins.barcodeScanner.scan(
function (result) {
alert("We got a barcode\n" +
Expand All @@ -135,6 +138,13 @@ A full example could be:
},
function (error) {
alert("Scanning failed: " + error);
},
{
"preferFrontCamera" : true, // iOS and Android
"showFlipCameraButton" : true, // iOS and Android
"prompt" : "Place a barcode inside the scan area", // supported on Android only
"formats" : "QR_CODE,PDF_417", // default: all but PDF_417 and RSS_EXPANDED
"orientation" : "landscape" // Android only (portrait|landscape), default unset so it rotates with the device
}
);
```
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "phonegap-plugin-barcodescanner",
"version": "4.1.0",
"version": "4.2.0",
"description": "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.",
"cordova": {
"id": "phonegap-plugin-barcodescanner",
Expand Down
213 changes: 10 additions & 203 deletions plugin.xml

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion src/android/LibraryProject/.gitignore

This file was deleted.

175 changes: 0 additions & 175 deletions src/android/LibraryProject/AndroidManifest.xml

This file was deleted.

21 changes: 0 additions & 21 deletions src/android/LibraryProject/ant.properties

This file was deleted.

15 changes: 0 additions & 15 deletions src/android/LibraryProject/assets/html-de/about1d.html

This file was deleted.

26 changes: 0 additions & 26 deletions src/android/LibraryProject/assets/html-de/about2d.html

This file was deleted.

23 changes: 0 additions & 23 deletions src/android/LibraryProject/assets/html-de/index.html

This file was deleted.

19 changes: 0 additions & 19 deletions src/android/LibraryProject/assets/html-de/scanning.html

This file was deleted.

14 changes: 0 additions & 14 deletions src/android/LibraryProject/assets/html-de/sharing.html

This file was deleted.

15 changes: 0 additions & 15 deletions src/android/LibraryProject/assets/html-de/whatsnew.html

This file was deleted.

0 comments on commit bd6c295

Please sign in to comment.