I installed Cordova and Ionic Native plugins into the ionic3 project.
But I need to remove only that specific Cordova and Ionic Native plugins from the project complete
I just refer their document here.
Example:
To install a plugin we are using following way.
ionic cordova plugin add
(ionic cordova plugin add cordova-plugin-dialogs
)
npm install --save @ionic-native/
(npm install --save @ionic-native/dialogs
)
To Uninstall the plugin just need to revert above things back as bellow
ionic cordova plugin remove
or ionic cordova plugin rm
(ionic cordova plugin remove cordova-plugin-dialogs
) or (ionic cordova plugin rm cordova-plugin-dialogs
)
Finally uninstall the associated Ionic Native package(s) from npm
npm uninstall --save @ionic-native/
(npm uninstall --save @ionic-native/dialogs
)
The --save flag will remove the project's package.json entry for that plugin
Doing above things helps me to remove plugin completely with its npm dependencies from the project. Hope this will useful to someone else