I have a hybrid app developed using Xamarin, using a library I created to mimic just the aspects of MVC I needed, such that I can almost share the same .cshtml files, and model and controller libraries as my web site. It's a language study app, and one part of it is a media player for playing audio lesson files, implemented in HTML 5 and JavaScript. On Android, when I put the phone to sleep, the audio will continue. In IOS, it will fade to silence right-way.
Is there a way to keep the audio playing in sleep mode?
Thanks.