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

uninstalling a plugin with <framework> tag failed

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cordova-android
    • Labels:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: