From 6043674b179295489936ba81b8fd5ff1ff2fdfa8 Mon Sep 17 00:00:00 2001 From: Tim Windsor Date: Wed, 15 Jul 2015 13:30:18 -0400 Subject: [PATCH] Merge in BlackBerry 10 support --- README.md | 19 +++++++++++++++++-- plugin.xml | 19 +++++++++++++++++++ 2 files changed, 36 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 438240bd..aa59f9a9 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,7 @@ It is also possible to install via repo url directly ( unstable ) - iOS - Windows 8 - Windows Phone 8 +- BlackBerry 10 - Browser Note: the Android source for this project includes an Android Library Project. @@ -104,6 +105,17 @@ The following barcode types are currently supported: * AZTEC * PDF417 +### BlackBerry 10 +* UPC_A +* UPC_E +* EAN_8 +* EAN_13 +* CODE_39 +* CODE_128 +* ITF +* DATA_MATRIX +* 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. A full example could be: @@ -149,10 +161,13 @@ Windows 8 implenemtation currently doesn't support encode functionality. ## Windows Phone 8 quirks ## Windows Phone 8 implenemtation currently doesn't support encode functionality. -## Thanks on Github ## +## BlackBerry 10 quirks +BlackBerry 10 implenematation currently doesn't support encode functionality. -So many -- check out the original [iOS](https://github.com/phonegap/phonegap-plugins/tree/DEPRECATED/iOS/BarcodeScanner) and [Android](https://github.com/phonegap/phonegap-plugins/tree/DEPRECATED/Android/BarcodeScanner) repos. +## Thanks on Github ## +So many -- check out the original [iOS](https://github.com/phonegap/phonegap-plugins/tree/master/iOS/BarcodeScanner), [Android](https://github.com/phonegap/phonegap-plugins/tree/master/Android/BarcodeScanner) and +[BlackBerry 10](https://github.com/umcsdon/WebWorks-Community-APIs/tree/master/BB10-Cordova/BarcodeScanner) repos. ## Licence ## diff --git a/plugin.xml b/plugin.xml index 0330e93f..08253cf9 100644 --- a/plugin.xml +++ b/plugin.xml @@ -347,5 +347,24 @@ + + + + + + + + + + + + + + + + use_camera + + +