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

Removing plugin with dependecy

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 3.5.0
    • None
    • cordova-lib
    • None
    • Window 7 64bit

    Description

      When user add plugin with need another denpendency, there is problem with deleting them. When user delete this plugin, dependency remain in project. Then, when user want delete dependendent plugin, plugin will be deleted, but remain in "dependent_plugins" in plugin.json file. And then everything is broken...

      Easy reproduction:
      Create new project
      cordova plugin add https://github.com/floatinghotpot/cordova-plugin-admob.git
      // now delete it
      cordova plugin rm com.rjfun.cordova.plugin.admob
      // com.google.playservices remain unaffected
      cordova plugin rm com.google.playservices
      // GPS plugin remain in plugin.json

      Attachments

        Activity

          People

            Unassigned Unassigned
            velda Jan Velecký
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: