Shazron's Cordova (aka PhoneGap) Blog

at Adobe Systems Inc.

Cordova Keyboard Plugin – maintenance update

with 3 comments

PluginThis iOS only plugin has been moved some time ago to the org.apache.cordova.labs namespace so it has not affected any plugin releases.

I feel that this type of plugin is better off in the hands of 3rd party devs — please see the ionic keyboard plugin for example. I personally am not going to be maintaining it anymore primarily because of the testing complexity (see manual tests in mobile-spec) and I prefer not to muck around with the keyboard native views (which is extremely hacky) – it’s best to leave the current keyboard as is, for example see the iOS Gmail app — besides under the flat UI in iOS 7 it doesn’t look as bad.

I believe none of the other core committers plan to maintain the code as well. With iOS 8,  there is support for custom keyboards, so this plugin’s future is limited. As usual, the code is open-sourced, and pull requests are still welcome but the plugin won’t be tested and won’t be published on http://plugins.cordova.io. You can still install the plugin by using the git url:

cordova plugin add https://github.com/apache/cordova-plugins.git#master:keyboard

iOS 7 also made “keyboard-shrinks-view” the default (much better for apps), and eventually when iOS 8 is released the minimum supported version of future Cordova releases would default to iOS 7 as well.

Currently there are ~20 open issues in JIRA, and ~2 open pull requests in Github.

About these ads

Written by shazron

July 9, 2014 at 8:27 am

Posted in cordova, phonegap

3 Responses

Subscribe to comments with RSS.

  1. Hi shazron, do you know of any workarounds to get shrinkView working again iOS 7.1? It now pushes the view back up, which is really bad for my position:fixed headers…

    Calvin

    August 16, 2014 at 8:05 pm

    • I want to know that trick too.
      I have a fixed positioned Titlebar that must not move from the top, but the Virtual Keyboard pushes up the entire view.

      Ever since PhoneGap 3.2 tried to have separate Keyboard Plugin to handle ShrinkView(), shrinking the webView never works… Keyboard.shrinkView() doesn’t work either.

      Andre

      September 2, 2014 at 3:32 am

  2. Is there any plugin to build custom keyboard for iOS8

    Muhammed Athimannil

    September 1, 2014 at 12:57 pm


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 1,538 other followers

%d bloggers like this: