a blog for those who code

Saturday 22 August 2015

How to Install Cordova Plugins in Visual Studio

In this post we are going to show how to install Cordova Plugins in Visual Studio. Installing Cordova plugins in Visual Studio is relatively easy than using Command Line. We will show you how to install Apache Cordova plugin InAppBrowser which is a web browser that displays in the app when calling window.open. The best part is that InAppBrowser works for iOS, Windows and Android with the same code set.

How to Set up using Visual Studio

Open config.xml file from the Project as shown below.

Then click on Plugins Tab and search InAppBrowser (cordova-plugin-inappbrowser).

On click of Add it will start downloading the plugin.

After installing it will give a confirmation that "The plugin was successfully installed".

How to Set up using Command Line

cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser

Please Like and Share the Blog, if you find it interesting and helpful.

1 comment:

  1. Hey, This one everyone can do. Tell us how to use the plugin in the code.