Exact height of keyboard (with autoCorrect) in react-native on Android
<p>I'm trying to get the height of the keyboard in order to scroll my view when it appears.  The <em>keyboardDidShow</em> event works perfectly in IOS, and the <em>height</em> value of the coordinates takes into account the extra bit that appears at the top of the keyboard when <em>autoCorrect</em> is on.</p>

<pre><code>this.keyboardShowListener = DeviceEventEmitter.addListener(
    'keyboardDidShow', this.keyboardDidShow);

...

keyboardDidShow (e) {
    let keyboardHeight = e.endCoordinates.height;
    this.refs.mainScrollView.scrollTo(
        {x: 0, y: keyboardHeight, animated: true});
},
</code></pre>

<p>However, in Android (with NR 0.21.0) it looks like the value given for the height doesn't include the extra <em>auto-correct</em> component height, and so when I scroll it comes up a bit short.</p>

<p>Now I could just add on some value for android, but that doesn't seem like a good solution.  Can you be sure it works on every android keyboard?  I suspect not.</p>

<p>So, is there a way to get a handle on the keyboard object in order to  measure it?</p>