{ "id": "63479", "key": "TIMOB-2847", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "11240", "name": "Release 1.6.0 M07", "archived": true, "released": true, "releaseDate": "2011-01-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T02:00:14.000+0000", "created": "2011-04-15T03:31:04.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "feature", "ios", "module", "release-1.6.0", "rplist", "tooling" ], "versions": [], "issuelinks": [], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T02:00:14.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}

Feature request by customer to allow for both Android and iOS\nmodules at the same time. The work around is easy enough\ncurrently.

\n

HD Ticket for reference: http://developer.appcelerator.com/helpdesk/view/65931

\n

iOS LH ticket here: \nhttps://appcelerator.lighthouseapp.com/projects/32238-titanium-mobi...

\n

Currently there isn't a way for an app to specify what\nplatform(s) a module should be enabled for, and the version number\nis also a hard requirement. We should allow any of the following\nmethods for defining a module dependency in tiapp.xml:

\n
\n\n<!-- the way it works today, use version 0.1 of com.company.module for all platforms-->\n<module version=\"0.1\">com.company.module</module>\n\n<!-- use version 0.1 of com.company.module only for Android -->\n<module version=\"0.1\" platform=\"android\">com.company.module</module>\n\n<!-- use the most recently installed version of com.company.module for all platforms -->\n<module>com.company.module</module>\n
\n

We should also allow users to combine the rules above in\nmultiple <module> tags, i.e:

\n
\n\n<!-- use com.company.module 1.0 for android, 1.1 for iphone -->\n<module platform=\"android\" version=\"1.0\">com.company.module</module>\n<module platform=\"iphone\" version=\"1.1\">com.company.module</module>\n
{html}", "attachment": [], "flagged": false, "summary": "Android: Support for multi platform side-by-side modules", "creator": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "subtasks": [], "reporter": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "environment": null, "comment": { "comments": [ { "id": "129546", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Rick, please add the workaround to this ticket.

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:31:04.000+0000", "updated": "2011-04-15T03:31:04.000+0000" }, { "id": "129547", "author": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "body": "{html}

Same ticket as: \nhttps://appcelerator.lighthouseapp.com/projects/32238/tickets/2950-...

\n

?

{html}", "updateAuthor": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "created": "2011-04-15T03:31:04.000+0000", "updated": "2011-04-15T03:31:04.000+0000" }, { "id": "129548", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Move additional info from #2950. We usually merge to the earliest\nticket. Changed to be tooling an not Android specific.

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:31:05.000+0000", "updated": "2011-04-15T03:31:05.000+0000" }, { "id": "129549", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [1c687fca8587ae3591f437e717a4968ccdc14fdd])\nadded support for \"platform\" attribute in the tiapp.xml tag to\nModuleDetector. changed the iphone builder/compiler scripts to use\nthe more generic detection/extraction logic on module.py [#2847\nstate:fixed-in-qa] \nhttps://github.com/appcelerator/titanium_mobile/commit/1c687fca8587...

{html}", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:31:05.000+0000", "updated": "2011-04-15T03:31:05.000+0000" }, { "id": "129550", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

Tested on 2.2 device (not that that really matters in this\ncase), Titanium 1.6.0 6e8d578.

\n

Test steps I did:

\n
{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:31:05.000+0000", "updated": "2011-04-15T03:31:05.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }