Make the notification player permanent
Make the notification player permanent so that I can always use it to resume playback.
It sometimes disappears after a while or when pausing and switching to other apps even though I have it set to stay on when paused.
Also add a method to force the app to always be running in the background so that it can always listen for bluetooth control and be able to resume playback at any time.
In my use case. I am always using podcast addict even if I momentarily pause playback or switch to a different app. It shouldn't be removed from memory even if I switch momentarily to another app or pause playback.
Thanks for reading!
This notification is permanent. If it disappears it means that the device killed the app. Unfortunately, there’s no way for me to prevent the device from doing that. Just make sure to exclude the app from the device Optimized apps list to limit the chances of the device killing the app