cordova-docs
cordova-docs copied to clipboard
<source-file> element of plugin.xml accepts directory as src, but not documented
Issue Type [x] Bug [ ] Feature Request
Priority [x] Minor [ ] Major [ ] Critical [ ] Blocker
Description
From https://github.com/apache/cordova/issues/47:
The behavior to copy entire directory contents of a element in case of a directory in the src attribute is undocumented. It is now working on cordova-ios@latest, cordova-osx@latest, and cordova-android@6 but not cordova-android@latest. (Source files would be put into incorrect subdirectory on cordova-android@latest.)
cordova-android is keeping this behaviour (https://github.com/apache/cordova-android/issues/564). The feature should be documented.
See https://github.com/apache/cordova/issues/47 for further discussion.
Thanks @ippeiukai for reporting. I cannot promise when I or anyone else will get a chance to document this. PR for review would be welcome.