How to access a native cordova plugin? My case:
I added a method to a plugin in the
plugins folder. I already tested it on native cordova project. It works great. But the ionic has a wrapper for this plugin. Now I just want to bypass the ionic wrapper and access the cordova js API to call a method.
Ok, to ignore the typescript errors you can just declare an any variable like
let myPlugin: any = ionicPlugin; and you be able to call whatever you want. It’s an ugly way, necessary for special reasons.
Or how to extend the ionic wrapper?