From 28f3d5a786dc6431093c3269764bda7836fc57b8 Mon Sep 17 00:00:00 2001 From: Tim Barham Date: Wed, 17 Jun 2015 10:48:42 -0700 Subject: [PATCH 1/3] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 2a777ba9a..84909b043 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ BarcodeScanner ============== +**Note: This repository is no longer maintained. The official repository is now at [phonegap/phonegap-plugin-barcodescanner](http://github.com/phonegap/phonegap-plugin-barcodescanner).** + Cross-platform BarcodeScanner for Cordova / PhoneGap. Follows the [Cordova Plugin spec](http://cordova.apache.org/docs/en/3.0.0/plugin_ref_spec.md), so that it works with [Plugman](https://github.com/apache/cordova-plugman). From 64f28aa34b7e6e9619ab14ca6bdb617710d852c2 Mon Sep 17 00:00:00 2001 From: aroberson Date: Mon, 27 Jul 2015 13:07:47 -0500 Subject: [PATCH 2/3] Fixed call to deprecated require("cordova/windows8/commandProxy") for windows8 --- src/windows8/BarcodeScannerProxy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/windows8/BarcodeScannerProxy.js b/src/windows8/BarcodeScannerProxy.js index 9384214a3..fadb69ae0 100644 --- a/src/windows8/BarcodeScannerProxy.js +++ b/src/windows8/BarcodeScannerProxy.js @@ -127,4 +127,4 @@ module.exports = { fail("Not implemented yet"); } }; -require("cordova/windows8/commandProxy").add("BarcodeScanner", module.exports); +require("cordova/exec/proxy").add("BarcodeScanner", module.exports); From 957c0015e3eb48e38270408d63f9d07dab1a2324 Mon Sep 17 00:00:00 2001 From: aroberson Date: Mon, 14 Sep 2015 14:13:10 -0500 Subject: [PATCH 3/3] Fixed z index for windows. --- .gitignore | 1 + src/windows8/BarcodeScannerProxy.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 4f3bcbbe2..c2e231d2c 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ bin/ .classpath .project +.idea diff --git a/src/windows8/BarcodeScannerProxy.js b/src/windows8/BarcodeScannerProxy.js index fadb69ae0..e8c5e2e6a 100644 --- a/src/windows8/BarcodeScannerProxy.js +++ b/src/windows8/BarcodeScannerProxy.js @@ -36,7 +36,7 @@ module.exports = { // Create fullscreen preview capturePreview = document.createElement("video"); - capturePreview.style.cssText = "position: absolute; left: 0; top: 0; width: 100%; height: 100%"; + capturePreview.style.cssText = "position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 99999"; // Create cancel button captureCancelButton = document.createElement("button");