apache / apache/cordova-android

Deprecate old plugin target-dir structure support

Open
#580 4 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
3.8k
Forks
1.6k
Avg merge
16h 18m
Merged PRs (30d)
11

Description

Old plugin target-dir structure support, which needs special remapping code in `bin/templates/cordova/lib/pluginHandlers.js` and has led to so many issues, should be deprecated with a warning message for future removal.

Plugin authors should be able to specify exactly where source files should be installed. `lib-file` elements should be used for JAR, AAR, etc. Use of `lib-file` elements for Android NDK `.so` files should be properly supported (#557).

Contributor guide

Open the contributing guide

Research direction

Start in bin/templates/cordova/lib/pluginHandlers.js and read the special remapping code for the old plugin target-dir structure. Review issue #557 for the related lib-file handling requirements; done means old target-dir usage produces a deprecation warning and the stated lib-file cases are properly supported.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, javascript
Domain
mobile, tooling
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.