audioplayer
audioplayer copied to clipboard
Background Play
The audio keeps playing even if the process is no longer open, I am having to force kill the app to stop the audio.
Yes same, Is this an issue or some code needed for that.
You will need to stop the audio manually, as background audio is a feature.
@moda20 Thanks, I understand but even after closing app from recent menu, it keeps playing.
I have the same issue on Android but not iOS - if I override didChangeAppLifecycleState and call stop() on AppLifecycleState.inactive, AppLifecycleState.paused or AppLifecycleState.detached it keeps playing in the background of the device.