App getting launched automatically

Hi,
This is a very pecurliar problem. I have an audio app that plays when being launched. It has CarPlay entitlements, plays from the network and naturally plays in the background.

Now, every one in a while the phone launchs the app in the background without notice. Music simply starts to play randomly. I can't determine the cause or the situation in which this reproduces. It might be related to Bluetooth connections, phone calls, CarPlay interactions, network changes or other reasons.

I do know the following things for sure:
  1. The app is launched from scratch as I have examined remote logs and seen the app is being launched.

  2. Pausing the music from control center will kill the app, and it will be relaunching after 2-3 minutes again (and again)

Any clues or ideas on why this happens or how to debug it further will be welcome.

Thank you..!
App getting launched automatically
 
 
Q