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/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). diff --git a/src/windows8/BarcodeScannerProxy.js b/src/windows8/BarcodeScannerProxy.js index 9384214a3..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"); @@ -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);