What is the best way to play audio resources in a car app?
I am currently developing an app that needs to receive notifications with important information. One of these notifications refers to an audio resource, which I play using a MediaPlayer. When testing on real vehicles, I noticed that the audio only plays if the app is in the foreground, but it plays from my phone rather