Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-6783] Android: AndroidManifest - V8 and Rhino, modifying custom AndroidManifest does not copy to real AndroidManifest during build time

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionCannot Reproduce
Resolution Date2012-01-23T16:53:35.000+0000
Affected Version/sRelease 1.8.0.1
Fix Version/sn/a
ComponentsAndroid
Labelsn/a
ReporterWilson Luu
AssigneePing Wang
Created2011-12-19T19:31:00.000+0000
Updated2012-01-23T16:53:35.000+0000

Description

Steps to reproduce: 1. Create a TiMob project and launch to Android emulator 2. Copy AndroidManifest.xml from *build* folder and add it to *platform > android* (platform folder is the same level as resources) 3. In the AndroidManifest.xml, modify the TiActivity tag to the following:
<activity android:name="org.appcelerator.titanium.TiActivity"
			android:screenOrientation="portrait"
			android:configChanges="keyboardHidden" />
4. Clean and run Results: The AndroidManifest.xml in the build folder still contains:
<activity android:name="org.appcelerator.titanium.TiActivity"
			android:configChanges="keyboardHidden|orientation" />
5. You get the same results if you changed only the TiTabActivity to:
<activity android:name="ti.modules.titanium.ui.TiTabActivity"
                        android:screenOrientation="portrait"
			android:configChanges="keyboardHidden" />
6. But, if both tags from step 3 and 5 are changed accordingly, then the tags get copied to the AndroidManifest in the build folder Expected: Changes to the custom AndroidManifest should be reflected in the AndroidManifest in the build folder

Comments

  1. Ping Wang 2011-12-20

    Can not reproduce with the latest master and 1_8_X.
  2. Wilson Luu 2011-12-21

    Closing bug. Was not able to reproduce in 1.8.0.1.RC3. Note: If a similar issue arises, need to wait longer to see changes in the AndroidManifest.xml

JSON Source