[TIMOB-25964] Android: Merge manifest of Android Libraries
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | None |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2018-05-11T21:21:13.000+0000 |
Affected Version/s | Release 7.1.0 |
Fix Version/s | Release 7.3.0 |
Components | Android |
Labels | n/a |
Reporter | Jan Vennemann |
Assignee | Jan Vennemann |
Created | 2018-04-13T20:44:40.000+0000 |
Updated | 2018-06-21T21:14:11.000+0000 |
Description
The AndroidManifest.xml of an Android Library (.aar) needs to be merged into the final app manifest.
PR: https://github.com/appcelerator/titanium_mobile/pull/10002 Gradle support the usage of placeholders in the manifest for which there is no direct mapping in our handling of .aar files. To workaround this one can hook into
build.android.writeAndroidManifest
. Library AndroidManifest.xml (excerpt):with Gradle configuration (excerpt)
The same can be achieved with this hook:
Verified the fix in SDK 7.3.0.v20180618182516. Closing.