Reputation: 176
I have got a Cordova plugin from here, which can download the file from server write it in local storage, but how can I use this plugin in my ionic project after I have installed it?
Upvotes: 1
Views: 714
Reputation: 176
We can use the any installed cordova plugin by following way
declare let downloader: any;
Here you can refer to declare the cordova plugin https://forum.ionicframework.com/t/how-to-use-cordova-custom-plugin-in-ionic/123858
Upvotes: 1