I’ve installed the Ionic Keyboard Plugin but still showing the native keyboard:
cordova plugin add ionic-plugin-keyboard
In my config.xml:
<preference name="KeyboardShrinksView" value="false" />
<preference name="KeyboardDisplayRequiresUserAction" value="true" />
<feature name="Keyboard">
<param name="ios-package" value="IonicKeyboard" onload="true" />
</feature>
<feature name="Keyboard">
<param name="android-package" value="IonicKeyboard" onload="true" />
</feature>
Then in my .run():
var kbShow = function(){
console.log("keyboard show");
cordova.plugins.Keyboard.show();
}
var kbHide = function(){
console.log("keyboard close");
cordova.plugins.Keyboard.close();
}
window.addEventListener('native.keyboardshow', kbShow);
window.addEventListener('native.keyboardhide', kbHide);
Both listener callbacks are being called but the keyboard still native.
Anything I’m missing? Using Ionic 1.2 with the ionic-m-generator and testing in Genymotion.