Search code examples
cordovatypescriptangularcordova-plugins

How to use Cordova plugins in an Angular 2 mobile applications


I want to include a Cordova plugin in my Angular2 app. Been googling whole day, no big win yet.

Can anyone suggest? How can this be done? After including, how can I call the Cordova methods?


Solution

  • We can add the plugin by using cordova commands

    like cordova plugin add "PLUGINNAME"