I am using latest ionic version, to work with keyboard first removed ionic-plugin-keyboard plugins by running cmd
ionic cordova plugin remove ionic-plugin-keyboard
npm uninstall --save @ionic-native/keyboard
later installed cordova-plugin-ionic-keyboard plugin
ionic cordova plugin add cordova-plugin-ionic-keyboard
npm install --save @ionic-native/keyboard
But still keyboard functions are not working for me. Please help