Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.9.0
-
None
Description
cordova plugin remove cannot delete dependency-only plugins, which do not have any platforms defined in their plugin.xml file. plugman.uninstall() is only called for platforms, not for the plugin itself.
I propose fixing this by separating the tasks of
- removing a plugin from a particular platform, and
- removing a plugin from the cordova project
Dependency-only projects need the second step to occur, but not the first.
Other plugins will have the first step run once per platform, and then the second step run once.