Well, that's it, I found a way to do this, not too crazy. This is not the most elegant solution, but it does exactly what I need and does not add too much code.
import { Keyboard, TextInput } from 'react-native'; ... <TextInput autoFocus onFocus={() => Keyboard.dismiss()} />
The name of the game here was autoFocus and onFocus={() => Keyboard.dismiss()} /> .
Now I will use https://www.npmjs.com/package/react-native-keyevent , as suggested by @MattAft, to listen for keystrokes (unfortunately, this package will not give me the actual input of the scanner, however it will raise the keyDown event ) to focus TextInput when the scanner reads something.
source share