{ "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.
(from [d20ef35d707cc3985cc0f60b9aa31f1faeb8adb9])\n[#2632 state:fixed-in-qa] Addition of to in\ntiapp.xml. \nhttps://github.com/appcelerator/titanium_mobile/commit/d20ef35d707c...
To test:
\nAlso:
\nUIBackgroundModes
key with two values in array:\naudio
, location
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.
Tested on iPhone 4 (4.2.1) and works as expected: music plays\nwhile app is in the background
\nTi SDK 1.6 (Jan 25 2011 17:39 r1ead074f)