[TIMOB-15997] Incremental builds while modifying custom android manifest files do not work
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Won't Fix |
Resolution Date | 2016-09-06T22:17:04.000+0000 |
Affected Version/s | Release 3.2.0 |
Fix Version/s | n/a |
Components | Android, CLI |
Labels | n/a |
Reporter | Allen Yeung |
Assignee | Chris Barber |
Created | 2013-12-16T08:09:51.000+0000 |
Updated | 2017-03-23T22:33:21.000+0000 |
Description
Steps to reproduce:
1. Build an android project with a file named AndroidManifest1.xml inside platform/android
2. Rename the AndroidManifest1.xml to AndroidManifest.xml
Expected:
The manifest inside the build directory should not be symlinked to the one in platform/android
Actual:
It is symlinked to it.
Doing a clean build after renaming the manifest will fix this problem.
There is no issue with the AndroidManifest.xml being symlinked. We shall not change it. When the Android build was rewritten for Node.js, a flaw was purposely ported from the old Python code. For iOS,
<plist>
overrides a customInfo.plist
and a customInfo.plist
overrides the defaultInfo.plst
. However with Android, if a customAndroidManifest.xml
is present, the<manifest>
section of thetiapp.xml
does NOT override the customAndroidManifest.xml
by default. To enable this behavior, you must setti config android.mergeCustomAndroidManifest true
. I have created TIMOB-23872 to enable the merging of custom AndroidManifest values over customAndroidManifest.xml
files.Closing ticket as Won't Fix with reference to the above comments.