Page 1 of 1

Android Background Audio Looping

Posted: Wed Dec 07, 2022 9:42 pm
by LG73
I have a problem I haven't been able to solve. I have an app that needs to play a background sound with looping. It works perfectly on iOS. On Android, when I use the Android Background Audio library I can't find a way to add the looping option.

I've tried to create my own looping routine using androidIsPlayingInBackground to determine when an item playing ends and restart it but that doesn't seem to work as expected.

The native Android player does looping but I can't get that to do background audio.

Is there something I'm missing that easily enables looping with the Android Background Audio library?

Thanks in advance to anyone with the missing link for this.