Ionic & Visual Studio Multi Device Hybrid App project

How can I successfully import and convert an Ionic project to a Visual Studio Multi Device Hybrid App project??? I’ve copied all the files inside www folder to VS project root directory but It keeps showing errors with this plugin “com.ionic.keyboard”.

I believe it’s not been recognized by Visual Studio. So how can add this plugin to Visual Studio?
This is the error when I debug in Ripple:

$ionicPlatform.ready(function() {
// Hide the accessory bar by default (remove this to show the accessory bar above the keyboard
// for form inputs)
if(window.cordova && window.cordova.plugins.Keyboard) {
cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true); //ERROR HERE
if(window.StatusBar) {
// org.apache.cordova.statusbar required

This is the error message: Cannot read property ‘Keyboard’ of undefined

1 Like


as per MSDN

in config.xml add to config.xml

and rebuild.

1 Like