Closed macasfaj closed 6 years ago
I'm having issues with this as well. It focuses, but the capture event never happens, no matter how clear the picture. Interestingly though, turning the device to landscape allows it to scan the barcode.
I am seeing this issue as well with the latest version: 1.10.1
I'm having issues with this as well. Do you know when would you solve this problem?
As discussed in #20 (thanks @michelbahl), it could be enabled quite easily via 2 changes in the module source. Contributions welcome!
The following 1D barcodes are supported now (via 2.0.1):
just downloaded the latest version (2.0.4) and created an empty project and it doesn't scan any 1D barcodes (we use the Code 39). It works instantly with QRcodes.
This is the code:
var Barcode = require('ti.barcode');
function barCodeHandler(data) {
console.log("e",data);
};
Barcode.addEventListener('success', barCodeHandler);
Barcode.capture({
keepOpen : true
});
the handler is never called.
The app is running on 7.5.0.GA on a iOS 12 device.
iOS version only reads QR code, not 1D barcode.
Any help with that?