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

'plugin add --save' saves plugin entry even if plugin installation fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Master
    • None
    • cordova-lib
    • None

    Description

      Repro steps:
      1. cordova create new-app && cd new-app
      2. cordova platform add browser
      3. cordova plugin add https://github.com/Wizcorp/phonegap-facebook-plugin.git --save

      Installation fails since no plugin variables specified

      Expected:
      Because the plugin installation failed, plugin entry is not persisted in config.xml

      Actual:
      config.xml contains plugin entry (empty, without variables).

      Attachments

        Activity

          People

            vladimir.kotikov Vladimir Kotikov
            vladimir.kotikov Vladimir Kotikov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: