I am developing a mobile application using React Native for a smartphone with a bar-code scanner. While scanning the bar-code, the data gets to the active input, showing the keyboard. Is there a way of reading the active input into the application directly without showing the keyboard?
Keyboard.Dismiss () - does not work as it should, if the hidden keyboard, then the input will become inactive, and also when the component is drawn, it first appears and disappears immediately, which is not what I need.
My Component : <TextInput autoFocus={true} onChangeText={v => this.scan(v)} />