title: onKeyPress method on TextInput for Android
body: <p>I've been trying to catch the keyboard's events within a <code>TextInput</code> in <code>react-native</code>.</p>
  
  <p>By reading the component's doc (<a href="https://facebook.github.io/react-native/docs/textinput.html" rel="nofollow noreferrer">https://facebook.github.io/react-native/docs/textinput.html</a>) I noticed the <code>onKeyPress</code> function which fits perfectly what I need. But it is labelled as <code>ios</code> only. I haven't found anything about an <code>android</code> workaround except this issue (<a href="https://github.com/facebook/react-native/issues/1882" rel="nofollow noreferrer">https://github.com/facebook/react-native/issues/1882</a>) which has been inactive for a couple months now ...</p>
  
  <p>What I'd need to do is calling a specific method when <code>Backspace</code> is pressed and it looks like it can only be done for <code>ios</code> for now ...</p>
  
  <p>Do you guys know any workaround for this ?</p>
  
  <p>Thanks in advance :)</p>