This is a **react-native** question for **Android**.

How can I handle the back button in Android when a TextInput is focused? 
`BackHandler.addEventListener('hardwareBackPress'. () => {})` does not catch any event if TextInput is focused. It automatically dismisses the keyboard.

(Actually what I am trying to achieve is to remove the cursor when Back Button is pressed and the keyboard is dismissed)

You can play with [this](https://snack.expo.io/@fsarmento/handle-back-button-w-textinput) expo snack to understand what I am talking about: