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

uninstalling a plugin with <framework> tag failed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • cordova-android

    Description

      In the Intel XDK environment, we install the plugin in a separate area than the <project_root>/platforms/<platform> directory.
      So, the src directory relative to the <project_root> directory may not exist.
      Cordova-android's plugin handler removes the parent directory if the last framework subdirectory is removed.
      This is done without checking the existence of the parent directory.
      This causes the uninstallation of certain plugins to fail.
      It is always safer to check the existence of the directory before it tries to remove the directory.

      Attachments

        Activity

          People

            bso Byoungro So
            bso Byoungro So
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: