I need to create a app that reads data from EXTERNAL barcode scanner i can’t use the barcode scanner plugin, once it displays the camera instead the external barcode scanner).
The code i wrote handle the default behavior of external barcode scanner (get the value of barcode and press ENTER).
But, in some devides, when the app builds the button that trigger the external barcode scanner doesn’t work anymore. When i press the button a laser must appear to scan the barcode, but nothing happens…
Does the barcode scanner work in other apps whree you can type stuff, e.g. Messages? As far as I know these barcode scanner devices just send keyboard input to the device. If the laser is off, this seems more like a hardware/compatibility problem than a software problem.
Why should it? Your scanner is just an external keyboard. Or is there any other code to make it work? Do other apps require any other changes for the scanner to work?
Only the specific ones i mentioned. I think it’s a hardware/compatibility as you said. But i can’t undestand why it works on all apps but the ionic ones.
The device listen for a specific broadcast. So i’ve created a plugin that sends it globaly (the broadcast plugin sends broadscast only in app-leve by LocalBroadcastManager).