Ionic 2 and custom plugin

You need to check the clobber in the plugin.xml.

So for example, take the keyboard plug in.

Here we would target it through window.cordova.plugin.Keyboard namespae, since thats the target.

2 Likes