Installing Ionic Keyboard Plugin


#1

The latest blog post details the new keyboard plugin which looks awesome: https://github.com/driftyco/ionic-plugins-keyboard, but I don’t see any installation instructions other than it will be enabled by default in future releases. I’ve downloaded the plugin and added it to my config.xml, but I’m not seeing the new behavior. What am I missing?


#2

To install it, use cordova plugin install.

$ cordova plugin add https://github.com/driftyco/ionic-plugins-keyboard.git

#3

Kan you supply that Plugin to Phonegap Build ??


#4

You should be able to install the plugin the same and phonegap build will take care it.


#5

I’ve installed the plugin as you suggested above, but I’m still not seeing any new functionality. Is there javascript I’m suppose to put in app.js or something? The plugin should prevent the view resizing (white background) in this gif right?


#6

Check out this post for a good demonstration of the benefits of the keyboard plugin.


#7

I also have installed the plugin but can’t see any new functionality. It’s including the keyboard.js.

Curious if you guys recommend any certain settings in the config.xml. for the best performance?

<preference name="DisallowOverscroll" value="false" />
<preference name="EnableViewportScale" value="false" />
<preference name="HideKeyboardFormAccessoryBar" value="false" />
<preference name="KeyboardDisplayRequiresUserAction" value="true" />
<preference name="KeyboardShrinksView" value="false" />

Thanks!
Mike


#8

Thanks! The post was very helpful.