Search code examples
cordovaandroid-softkeyboardcordova-pluginsandroid-eventcordova-5.0.0

Keyboard show/hide event not firing in Cordova 5.1.1


I just updated my cordova from 4.3.0 to 5.1.1 and it seems that the keyboard event is not firing up previously,

 document.addEventListener("showkeyboard",function() {
   }

and

 document.addEventListener("hidekeyboard",function() {
 }

where working but after upgrading it stopped working ,i am also using a keyboard plugin ionic keyborad it has its own events

 window.addEventListener('native.keyboardshow', keyboardShowHandler);

they are also not firing ,please help me with the issue


Solution

  • it seems that from cordova-android-4.0.0 these events have been removed and they are suggesting to use plugin such as ionic-keyboard-plugin for that events

    Ref-src see in other changes section