Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
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.