Starting audio while app in background


#1

Hi,

I have been going in circles with this question.
How can I make sure that my ionic app (Music Player App) keeps playing the next song while the screen is locked.
It seems that the app goes to sleeep and does not execute the scripts to load the next song.
I’m using the “Media” and “Music Controls” plugins (With Ionic Native).

I also have the UIBackgroundModes set to audio