{ "id": "61202", "key": "TIMOB-570", "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": "11225", "name": "Release 1.5.0", "archived": true, "released": true, "releaseDate": "2010-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:53:32.000+0000", "created": "2011-04-15T02:32:10.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "ios", "iphone", "orientation" ], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:53:32.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

need ability to force the initial orientation, so we need to add\norientation back to the tiapp.xml

\n

the following values should be supported:

\n

landscape_left
\nlandscape_right
\nportrait

{html}", "attachment": [], "flagged": false, "summary": "need to add orientation support in tiapp.xml", "creator": { "name": "nwright", "key": "nwright", "displayName": "Nolan Wright", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nwright", "key": "nwright", "displayName": "Nolan Wright", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "123575", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

This is something that needs to be done in Titanium Developer,\nas it's modifying the info.plist.

{html}", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:32:11.000+0000", "updated": "2011-04-15T02:32:11.000+0000" }, { "id": "123576", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

For now as a workaround, create a copy of Info.plist and place\nin your project root directory. Edit it and Titanium automatically\nuses this Info.plist instead of generating one.

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:32:11.000+0000", "updated": "2011-04-15T02:32:11.000+0000" }, { "id": "123577", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [2ad0ffd1c5252f73b4e6c2113393d2d346f95afd])\n[#570\nstate:needs-more-info] Support for orientations (as\nTi.UI.ORIENTATION) in tiapp.xml. See ticket for needs-more-info.\n\nhttps://github.com/appcelerator/titanium_mobile/commit/2ad0ffd1c525...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:32:11.000+0000", "updated": "2011-04-15T02:32:11.000+0000" }, { "id": "123578", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Technically the bug as listed has been fixed (we now allow users\nto specify orientations). However, due to the way we force\norientations at boot, this doesn't actually have any effect.

\n

Going to go ahead and remark the bug 'open' since it makes sense\nto fix this, rather than debating whether or not that should be a\nseparate bug.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:32:12.000+0000", "updated": "2011-04-15T02:32:12.000+0000" }, { "id": "123579", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [7983907565dc641c5d9e051594e5c61f2dcae66a])\n[#570\nstate:fixed-in-qa] Full support for default orientation modes for\niphone in tiapp.xml. See ticket for more information. \nhttps://github.com/appcelerator/titanium_mobile/commit/7983907565dc...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:32:12.000+0000", "updated": "2011-04-15T02:32:12.000+0000" }, { "id": "123580", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

There were numerous changes made in that last commit. However,\nit is worth noting that:

\n\n

Users who do not update their iphone build directory after\n1.5.0, and modify their tiapp.xml to include orientation\ninformation, may be in for an unpleasant surprise.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:32:12.000+0000", "updated": "2011-04-15T02:32:12.000+0000" }, { "id": "123581", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Sure enough, plist reports proper values now.

{html}", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:32:12.000+0000", "updated": "2011-04-15T02:32:12.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }