[TIMOB-2632] Allow background mode specification in tiapp.xml
| GitHub Issue | n/a |
|---|---|
| Type | New Feature |
| Priority | Trivial |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2011-04-17T01:59:39.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 1.6.0 M07 |
| Components | iOS |
| Labels | background, feature, ios, release-1.6.0, tiapp |
| Reporter | Stephen Tramer |
| Assignee | Stephen Tramer |
| Created | 2011-04-15T03:25:22.000+0000 |
| Updated | 2011-04-17T01:59:39.000+0000 |
Description
In tiapp.xml, we need to allow specification for background modes that are allowable in the Info.plist. Should be an easy mod since background modes could occur within the tag and then be processed that way. Going to have to work with the Android team on it, maybe.
Attachments
| File | Date | Size |
|---|---|---|
| tiapp.xml | 2011-04-15T03:25:22.000+0000 | 1301 |
(from [d20ef35d707cc3985cc0f60b9aa31f1faeb8adb9]) [#2632 state:fixed-in-qa] Addition of to in tiapp.xml. https://github.com/appcelerator/titanium_mobile/commit/d20ef35d707cc3985cc0f60b9aa31f1faeb8adb9"> https://github.com/appcelerator/titanium_mobile/commit/d20ef35d707c...
To test:
Also:
UIBackgroundModeskey with two values in array:audio,locationReplaced KS tiapp.xml with the one provided by Stephen Tramer.
Checked build/iphone/Info.plist and UIBackgroundMode key has two values: audio, and location.
Tested on iPhone 4 (4.2.1) and works as expected: music plays while app is in the background
Ti SDK 1.6 (Jan 25 2011 17:39 r1ead074f)