I'm building a phonegap JQM application, that accepts barcodes from an external bluetooth barcode scanner. I've used this library: https://github.com/julien-maurel/jQuery-Scanner-Detection and it works fine on Android devices. But there's a problem on iOS devices. When barcode is scanned, event is not triggered. If I add a text input to the page and click on it, everything works fine, event is triggered and also scanned barcode is attached to input fields value, but there must be no input field. How can I catch this event on iOS?
Asked
Active
Viewed 988 times
3

Brian Tompsett - 汤莱恩
- 5,753
- 72
- 57
- 129

cartoonle
- 101
- 1
- 7
-
1You can get some information [here](http://stackoverflow.com/a/4804590/833188) and you can try the solution proposed [here](http://stackoverflow.com/a/16900931/833188), using a hidden (or zero pixel) input field – Sga Oct 15 '15 at 11:20
-
Yes, i know this solution, but it's to messy and therefore unacceptable in my case... – cartoonle Oct 16 '15 at 11:23