Hi,
I want to hide navigation (< > icon) from keyboard accessory bar.
I am using cordova.plugins.Keyboard.hideKeyboardAccessoryBar(false); code for showing accessory bar. please suggest . Thanks
Did u try cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true) ?
2 Likes
Stupid question: where does this code actually go? Right now, I’m running:
.run(function($ionicPlatform) {
$ionicPlatform.ready(function() {
cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true);
});
})
…but it’s not taking effect.
EDIT: I’ve also tried adding these items (separately, as suggested in other threads) to my config.xml
<feature name="Keyboard">
<param name="ios-package" value="IonicKeyboard" onload="true" />
</feature>
and
<preference name="HideKeyboardFormAccessoryBar" value="true" />
…but still no dice.
For what it’s worth, I got around the issue by removing the plugin using the cordova command
cordova plugin remove ionic-plugin-keyboard
and reinstalling using the ionic command
ionic plugin add ionic-plugin-keyboard
That did the trick…for now.
1 Like