Skip to content
This repository has been archived by the owner on Apr 2, 2018. It is now read-only.

hideKeyboardAccessoryBar not working in ionic 3 #312

Open
nitinpund opened this issue Feb 24, 2018 · 0 comments
Open

hideKeyboardAccessoryBar not working in ionic 3 #312

nitinpund opened this issue Feb 24, 2018 · 0 comments

Comments

@nitinpund
Copy link

nitinpund commented Feb 24, 2018

Hi,
I am developing hybrid app using ionic 3 and I want to hide keyboard accessory bar, but its not working at all.

I am using following plugin

  1. ionic cordova plugin add ionic-plugin-keyboard
  2. npm install --save @ionic-native/keyboard

The method mentioned in ionic documentation is not working, what I tried is as below

In app.component.ts file I have added

ngOnInit() {
    this.platform.ready().then(() => {
      this.keyboard.hideKeyboardAccessoryBar(true);
    });
  }

What I am doing wrong? please let me know

My Ionic info is as follows

cli packages: (/usr/local/lib/node_modules)

@ionic/cli-utils  : 1.19.0
ionic (Ionic CLI) : 3.19.0

global packages:

cordova (Cordova CLI) : 8.0.0 

local packages:

@ionic/app-scripts : 3.1.5
Cordova Platforms  : android 7.0.0 browser 5.0.3 ios 4.5.4
Ionic Framework    : ionic-angular 3.9.2
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant