Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-4077

CLI / Plugman can't remove dependency-only plugins

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.9.0
    • 3.0.0
    • cordova-cli
    • 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.

      Attachments

        Activity

          People

            filmaj Filip Maj
            iclelland Ian Clelland
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: