Ionic keyboard plugin is not working :(

Ionic keyboard plugin is not working. I have tried every possible way.

Can you provide some more information? Whats not working specifically? What version of ionic are you using? Cordova?

ioninc v1.0.0-beta.7, ios7, cordova 2.9
I am unable to hide keyboard accessory bar. Keyboard event “native.keyboardshow” doesn’t work.

I have the same issue.
Ionic beta11
$ cordova -v --> 3.5.0-0.2.6
android

I never get the alert (or any errors related to this):

var keyboardShowHandler = function (e){
  alert('Keyboard height is: ' + e.keyboardHeight);
}
window.addEventListener('native.keyboardshow', keyboardShowHandler);

Actually, after many hours of searching I just put in that previous note and of course moments later, found the solution. The alert still never shows, but the keyboard is pushing up the content so that it doesn’t overlap the input.

The solution was from here:
http://ionicframework.com/docs/api/page/keyboard/

In ionic.js, I had to set isFullscreen = true

Make sure to read the full content of the link I gave and make sure to change ionic.js rather than ionic.bundle.js (that is assuming that you are using fullscreen).

Thanks ionic team! The answer was in your documentation.

1 Like

Remove keyboard plugin:

cordova plugin rm ionic-plugin-keyboard

and install again:

cordova plugin add ionic-plugin-keyboard@2.1

done! (works for me)