freshplanet / ANE-KeyboardSize

Air Native Extension (Android) for measuring soft keyboard size
Apache License 2.0
31 stars 15 forks source link

MeasureKeyboardEvent events are not working #13

Open Xgamefactory opened 7 years ago

Xgamefactory commented 7 years ago

I have checked undocumented new Events and listeners none of them triggers.

keyboardAne = MeasureKeyboard.getInstance(false);
keyboardAne.addEventListener(MeasureKeyboardEvent.KEYBOARD_WILL_CHANGE, onKeyboardEvent);
keyboardAne.addEventListener(MeasureKeyboardEvent.KEYBOARD_DID_CHANGE, keyboardAne.addEventListener(MeasureKeyboardEvent.KEYBOARD_DID_SHOW, onKeyboardEvent);               keyboardAne.addEventListener(MeasureKeyboardEvent.KEYBOARD_DID_HIDE, onKeyboardEvent);
keyboardAne.addEventListener(MeasureKeyboardEvent.KEYBOARD_WILL_SHOW, onKeyboardEvent);
keyboardAne.addEventListener(MeasureKeyboardEvent.KEYBOARD_WILL_HIDE, onKeyboardEvent);
jsaade commented 7 years ago

They are working fine on iOS, if you are testing on Android, they are not supposed to work.

barisyild commented 5 years ago

same 👍