This is what worked for me since I needed the accessory bar only in one instance, the accepted answer is old, and I am using cordova-plugin-keyboard instead. I used it with an onOpen handler.
if (window.Keyboard) {
window.Keyboard.hideFormAccessoryBar(false);
}