How to use Cordova plugin that is not part of Ionic Native

Hello,

I would like to use this plugin in order to launch the devices native driving directions. This plugin however is not a part of the Ionic Native set. Can someone please help me leverage this plugin with my Ionic 2 app. This will also help me (or anyone with a similar problem) to be able to use any other plugin that is not a part of the Ionic Native set. Thanks

I would imagine if you do exact as it says and install like this

cordova plugin add cordova-plugin-directions

And then include the directions.js in your project that you will then have access to the global Directions module.

I would recommend wrapping that in an angular service to encapsulate though - much in the same way that ionic native does for it’s supported plugins

Richard