[TIMOB-15598] Tizen: Cannot play audio in the background when the app is minimized or when the lockscreen is on.
GitHub Issue | n/a |
---|---|
Type | Story |
Priority | Medium |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2013-11-12T16:28:13.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Tizen |
Labels | n/a |
Reporter | Ricardo Alcocer |
Assignee | Ingo Muschenetz |
Created | 2013-10-28T19:05:58.000+0000 |
Updated | 2017-03-16T20:30:53.000+0000 |
Description
User is not able to play audio in the background when the app is minimized or when the lockscreen is on.
Can we get steps to reproduce the issue?
Hi Ingo, Here is the code for the appropriate page. It's pretty standard, and works well with iOS and Android, but with Tizen, as soon as the lockscreen is engaged, or the home button is clicked, audio cuts off. I'm testing on an actual device, I can't run the emulator until HAXM is updated for Maverick
Hi Ingo, Have you had time to figure out a fix for this?
[~joshlewis] According to our research this is expected behavior for web-based apps where the audio stops. Evidently the Samsung app store reviewers block app that continue play music after window go to background. Do you have information that says otherwise?
Hi Ingo, I've read the same, but I assumed creating a Tizen app would make this native, and not web-based. Is that not the case?
Ingo, according to a contact at Samsung, they have another developer who is working on a music app, and it plays in the background and when the screen is locked.
Is it a web app or a native app? To your previous question, Tizen has two versions, a web version and a native version. The web came first, and that is the platform we implemented. Samsung followed with a native platform and we will look at supporting that in the future.
I believe there's is native, and I assumed that Appcelerator's was well..
Hi Ingo, Just an FYI, I was able to get it working. In the tiapp.xml file, in the tizen group, you have to add
And it will play in the background, and while navigating other apps.
Great to hear. I'll mark this ticket as invalid since all it was was a configuration issue, but let me know if we need to do anything else.
Closing ticket as invalid.