After upgrading to version 0.26.0-rc on iOS, this line:
DeviceEventEmitter.addListener('keyboardWillShow', (e)=>this.updateKeyboardSpace(e));
doing nothing. When the keyboard is open, the updateKeyboardSpace method updateKeyboardSpace never called.
I import DeviceEventEmitter with this:
import React from 'react'; import {DeviceEventEmitter} from 'react-native';
I updated version 0.21, it worked fine there.
source share