{ "id": "64102", "key": "TIMOB-3470", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" }, { "id": "11250", "name": "Sprint 2011-15", "archived": true, "released": true, "releaseDate": "2011-04-18" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-05-06T09:46:07.000+0000", "created": "2011-04-15T03:45:34.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "build", "module", "release-1.7.0", "reported-1.7.0", "rplist" ], "versions": [], "issuelinks": [ { "id": "10350", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "inwardIssue": { "id": "65067", "key": "TIMOB-3911", "fields": { "summary": "Android: Creating a Module Fails if android-4 Not Available", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "10284", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "64793", "key": "TIMOB-3722", "fields": { "summary": "Confirm TIMOB-3470", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true } } } } ], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2011-05-06T09:46:07.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}

The timodule.xml contents do not get added to the generated\nAndroidManifest.xml at build time. This is happening in Master.

{html}", "attachment": [], "flagged": false, "summary": "Android: timodule.xml contents do not get copied into generated AndroidManifest.xml", "creator": { "name": "ctredway1", "key": "ctredway1", "displayName": "ctredway", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ctredway1", "key": "ctredway1", "displayName": "ctredway", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "130876", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "[https://github.com/appcelerator/titanium_mobile/commit/4a487322088deb07bd8f305afdde5451a1e6749e]", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T14:14:07.000+0000", "updated": "2011-04-15T14:14:44.000+0000" }, { "id": "130877", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "I believe this is just a misunderstanding caused by the template timodule.xml not getting updated after we settled on our standard for putting the {{}} section into tiapp.xml (somewhere around 1.5.0, probably). So the entries in timodule.xml should be structured the same way entries in tiapp.xml are. But the comment inside the template timodule.xml shows the manifest element looking like this: {{}}, which is wrong. So perhaps the customer was following that wrong advice and thus it wasn't working.\n\nInstead the section should look just like it would in a tiapp.xml:\n\n{code:title=tiapp_or_timodule.xml}\n\n \n \n\n{code}\n\nIf it's done that way, it already works (I didn't need to make any programming changes, though I did update timodule.xml template to reflect this.)\n\nIf QA wants to test this:\n\n* Create a new [Android module|http://wiki.appcelerator.org/display/guides/Module+Developer+Guide+for+Android] or use an existing Android module.\n* Open the module's timodule.xml file and change the {{}} section to look like this:\n\n{code:title=timodule.xml}\n\n \n \n \n\n{code}\n\n* Build the module.\n* Copy the packaged module ZIP file to a Titanium Mobile project's root folder.\n* In the Titanium Mobile project's tiapp.xml file, be sure to add the {{}} section to specify that the module should be used in the project.\n* Build the Titanium Mobile project.\n* Open {{build/android/AndroidManifest.xml}} and go down near the bottom, and you should see the {{READ_CONTACTS}} permission in there -- that came from the timodule.xml\n\n\n", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T14:48:45.000+0000", "updated": "2011-04-15T14:48:45.000+0000" }, { "id": "133269", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Device not needed for testing.", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-05-06T09:46:07.000+0000", "updated": "2011-05-06T09:46:07.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }