Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upEAN13 Barcode only works in Portrait #5
Comments
|
I have the same issue with phonegap build using phonegap 2.1.0 and iOS6. All the testers report that the barcode scanning does not work, because they try to have the red line crossing the barcode horizontaly. I discovered that the red bar needs to be vertical only by accident. Here's what I have in config.xml: gap:plugin name="BarcodeScanner" Is something else needed to have the red bar correctly oriented? Thank you, Stephane |
|
I think this issue was introduced when the plugin was updated to lock its orientation. Going to investigate asap. Sorry for the delayed response, was on vacation. |
|
Yes, probably. The red line is disturbing. If orientation does not matter Von: Ryan Willoughby [mailto:notifications@github.com] I think this issue was introduced when the plugin was updated to lock its — |
|
After going back to the original community plugin at https://github.com/phonegap/phonegap-plugins/tree/master/iOS/BarcodeScanner, it looks like linear (i.e. ean13) barcodes aren't supported in landscape. I've created an issue: https://github.com/phonegap/phonegap-plugins/issues/941. Going to change the plugin here to lock to portrait instead for now. This ensures all barcodes are scannable and the device can be re-oriented to whichever direction linear barcodes are in. Then we can investigate support for linear barcodes in landscape in the above issue. |
|
This has now been locked to portrait, and EAN13 barcodes scan as expected. |
Remove cordova.define & update ID for npm move
On iPhone iOS6.0 the scanning of the ean13 barcode only works in portrait mode. The red line has to be vertical, which is kind of unintuitive.