I want to use the ionic-plugin-keyboard plugin on my blackberry10 platform target. I had to figure that nothing happens in respect to the event listener below.
window.addEventListener('native.keyboardshow', keyboardShowHandler);
function keyboardShowHandler(e){
alert('Keyboard height is: ' + e.keyboardHeight);
}
window.addEventListener('native.keyboardhide', keyboardHideHandler);
function keyboardHideHandler(e){
alert('Goodnight, sweet prince');
}
I found a way to use the native webworks events (see code below) to solve it for me, but the question still remains open to me why it does not work since this plugin is pretending to support this functionality on blackberry10.
I want to use the
ionic-plugin-keyboard
plugin on myblackberry10
platform target. I had to figure that nothing happens in respect to the event listener below.I found a way to use the native webworks events (see code below) to solve it for me, but the question still remains open to me why it does not work since this plugin is pretending to support this functionality on
blackberry10
.My workaround: