Dear experts,
I've developed and published an app that plays random relaxing music that's been pre loaded.
I've added a new feature where people can listen to random music streams. The problem is stresming stops as soon as i put the app on the background or lock my phone.
I tried listening to the music streams by keeping the app on the foreground. But after 10 minutes my phone locks itself automatically.
Is it possible to listen to music streams while keeping the in the background or locking the phone?
If not, can you suggest me how i can prevent my phone from locking so that the music keeps playing?
Please let me know
Thank you