Is this a bug report?
yes
Environment
react-native -v
: latest
platform
: android
Steps to Reproduce
The following code on componentWillMount
works on ios but doesn't work in android
this.keyboardWillShowListener = Keyboard.addListener(
"keyboardWillShow",
() => console.log("do something")
);
Expected Behavior
keyboardWillShow
native event is triggered on android
Actual Behavior
It doesn't trigger so I had to use keyboardDidShow
event instead.
Reproducible Demo
https://snack.expo.io/r1eRxoNvb