how to keep music running when app is brought to front after being minimized?
I am using media.playSound method. the music is working fine but when I minimize the app to lets say open something else, the music stops when I reopen the app. I tried the same thing on android, it's all right there. The music pauses when the app is minimized and then it is resumed when the app is brought to front. Is there something that needs to be done for it to work on ios devices ??
This post is from 25 June 2013 from a SDK staff member in response to a similar question. Apple supports a limited number of background modes including playing background music, some GPS features, Newsstand downloads, etc. Some people have gotten this to work. But the official answer from the Engineers is "This is unsupported in Corona SDK. It may not work in future releases. And it doesn't work on Android with Corona SDK at all". That said, you can take your chances, but no complaining when you update to a later release and your app breaks. This is unsupported. The topic takes a turn to talk about the zero support in Andriod so it's safe to say it's unsupported for ios. It's been over a year so I'd suggest finding the page on their site where they talk about added features or ask this question there to find your answer.
corona storyboard dispatch event error
Web view Background trasparency
Changing display Image when interacting to other display
Tap on display objects in Corona SDK
Tableviews “slide down” when tapped in Widget 2.0
Display long text in fixed frame in Corona
Sound delay on emulator in corona sdk
Corona Sdk frame number per second
What is the difference adding view directly without following code
Corona SDK Touch Phases - Touch and Hold
corona sdk - scene keep old items
adding objects to screen in corona sdk without defining x y coordinates? corona sdk
Where is the log printed when I use print(“”) in Corona Engine?
corona sdk storyboard using press button to move next
Accessing device contact list using Corona Sdk?
How to get status bar height in corona sdk?