I have a Perspective view that I'm running inside the Android mobile app on a Zebra MC33XX handheld scanner. When the BarcodeScannerInput component is available inside the view (display:false, visible:true), the scanning component works but all keyboard input seems to be consumed by this component. As soon as I hide the parent container, I'm able to use keyboard input again... any ideas on how I can allow users to both keypress and scan?
BarcodeScannerInput settings:
One further note - it seems that if I hide the parent container and then unhide it, I can then do both scanning and keyboard press. Is there some sort of initialization that I missed?
This feels more and more like initialization:
- Force closed app and re-launched
- Navigated to view in question
- From that screen, F1 -> Continue, F2 -> Navigate home, F3 -> Logs a message. A F1/F2 key press should write a value to a view custom property, and I have matching buttons on screen that write to the same property.
- At this point, no key press seems to register. If I click the on-screen buttons, the action works appropriately.
- Now if I scan, the value populates as expected.
- After scanning, the F1/F2/F3 actions all work as expected.
Any thoughts on how to work around this?