Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public final class CameraManager {

private static final int MIN_FRAME_WIDTH = 220;
private static final int MIN_FRAME_HEIGHT = 220;
private static final int MAX_FRAME_WIDTH = 880;
private static final int MAX_FRAME_WIDTH = 680;
private static final int MAX_FRAME_HEIGHT = 680;

private final Context context;
Expand Down
4 changes: 2 additions & 2 deletions src/browser/BarcodeScannerProxy.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
function scan(success, error) {
var code = window.prompt("Enter barcode value (empty value will fire the error handler):");
var code = "Enter barcode value (empty value will fire the error handler):";
if(code) {
var result = {
text:code,
Expand All @@ -21,4 +21,4 @@ module.exports = {
encode: encode
};

require("cordova/exec/proxy").add("BarcodeScanner",module.exports);
require("cordova/exec/proxy").add("BarcodeScanner",module.exports);