[Solved] Settings to keep audio active

I was toying with the idea of making an online radio app with Corona.
I’ve had to mothball this project for the time being since audio is automatically stopped when the screen goes to sleep.
Would it be possible to add a setting in build.settings to allow audio to continue to be played even when the screen goes to sleep? [import]uid: 70847 topic_id: 20763 reply_id: 320763[/import]

Sure :slight_smile:

Try this as your build.settings

[code]
– cpmgen build.settings
settings =
{
orientation =
{
default =“portrait”,
supported =
{
“portrait”, “portraitUpsideDown”
},
},

android = {
versionCode = “1”
},
iphone =
{
plist =
{
UIBackgroundModes =
{
“audio”,
},
UIApplicationExitsOnSuspend = false,
},
},

}
[/code] [import]uid: 84637 topic_id: 20763 reply_id: 81950[/import]

Shucks,
I should really start reading the iPhone SDK documentation more… :slight_smile:

Thanks! [import]uid: 70847 topic_id: 20763 reply_id: 82175[/import]