{ "id": "63264", "key": "TIMOB-2632", "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-17T01:59:39.000+0000", "created": "2011-04-15T03:25:22.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "background", "feature", "ios", "release-1.6.0", "tiapp" ], "versions": [], "issuelinks": [], "assignee": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:59:39.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}

In tiapp.xml, we need to allow specification for background\nmodes that are allowable in the Info.plist. Should be an easy mod\nsince background modes could occur within the tag and then be\nprocessed that way. Going to have to work with the Android team on\nit, maybe.

{html}", "attachment": [ { "id": "18180", "filename": "tiapp.xml", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:25:22.000+0000", "size": 1301, "mimeType": "text/xml" } ], "flagged": false, "summary": "Allow background mode specification in tiapp.xml", "creator": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "129036", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [d20ef35d707cc3985cc0f60b9aa31f1faeb8adb9])\n[#2632 state:fixed-in-qa] Addition of to in\ntiapp.xml. \nhttps://github.com/appcelerator/titanium_mobile/commit/d20ef35d707c...

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

To test:

\n\n

Also:

\n
{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:25:23.000+0000", "updated": "2011-04-15T03:25:23.000+0000" }, { "id": "129038", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

Replaced KS tiapp.xml with the one provided by Stephen\nTramer.
\nChecked build/iphone/Info.plist and UIBackgroundMode key has two\nvalues: audio, and location.

\n

Tested on iPhone 4 (4.2.1) and works as expected: music plays\nwhile app is in the background

\n

Ti SDK 1.6 (Jan 25 2011 17:39 r1ead074f)

{html}", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:25:23.000+0000", "updated": "2011-04-15T03:25:23.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }