That is the error I am getting, but Ive already installed the plugin and added it to my providers. This error also occurs with other plugins too. Please help
-> Error trying to use ionic native plugins
@ionic-native is a TypeScript wrapper for Cordova/PhoneGap plugins.
If you want to use a plugin, for example the ‘cordova-plugin-file’ plugin you need to add it to your project. You also need to add @ionic-native/file’.
To add the ‘cordova-plugin-file’ plugin to your project:
ionic cordova plugin add cordova-plugin-file npm install --save @ionic-native/file
To remove the plugin from your project:
ionic cordova plugin rm cordova-plugin-file npm uninstall --save @ionic-native/file
If your plugin isn’t supported by @ionic-native then see -> https://www.joshmorony.com/using-cordova-plugins-in-ionic-2-with-ionic-native/
To check your project’s plugins:
ionic cordova plugin ls
You should see output like:
cordova-plugin-compat 1.2.0 "Compat" cordova-plugin-device 1.1.4 "Device" cordova-plugin-file 4.3.3 "File" cordova-plugin-splashscreen 4.0.3 "Splashscreen" cordova-plugin-statusbar 2.2.2 "StatusBar" cordova-plugin-whitelist 1.3.1 "Whitelist" ionic-plugin-keyboard 2.2.1 "Keyboard"
Remove platform and then again add platform. You will see that some plugin are skipped to install as the platform is not updated. So if this is happing. Again remove the platform and ad i=with the latest version like
cordova platform add firstname.lastname@example.org