Nelson Gnanaraj
Nelson Gnanaraj

Reputation: 176

How cordova-plugin-file-downloader plugin in ionic project?

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

Answers (1)

Nelson Gnanaraj
Nelson Gnanaraj

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

Related Questions