Keyboard plugin


#1

I’m having troubles getting the keyboard events native.keyboardshow and native.keyboardhide to work. I’ve installed the plugin using > ionic plugin add cordova-plugin-keyboard (and even ionic-plugin-keyboard, don’t know if there is a difference) but when uploading the app to ionic view, the events don’t fire when the keyboard is opened.

Am I missing something obvious? The event listener looks like this: window.addEventListener('native.keyboardshow', this.keyboardShowHandler);

Thanks a lot!


#2

Have you tested this on a real device outside of ionic view? Ionic view has some tighter security features so you might want to try testing on a real device