hideKeyboardAccessoryBar(true) has no effect

I’m trying to use the functionality for controlling keyboard behavior, but nothing I do seems to have any effect. To find the problem I’ve tried starting a new minimum project and running it in Ionic View. The default template contains cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true) which doesn’t have any effect.

Here’s what I’ve done:

  1. Create a new project: ionic start test blank
  2. Added an field inside , leaving everything else untouched.
  3. Upload the app: ionic upload
  4. Open it in Ionic View on an iPhone 5S, IOS 9.1

What am I missing here? Any help is much appreciated.

I’m using Ionic 1.7.10

I’m not sure but try to add this into your config.xml

<feature name="Keyboard">
   <param name="ios-package" onload="true" value="IonicKeyboard"/>
</feature>