Hello everyone, Apple CarPlay is implemented in one of my applications by using MediaPlayer Framework.
It is working properly if iPhone is locked, the App is in the background, or in an Active state. But I want to play audio from CarPlay even if the App is in a terminated state similar to Spotify app does.
In case of application is not opened in the phone, on CarPlay display selecting the station does not play the song. You can see in the below videos for both cases:
[https://algoworks-my.sharepoint.com/:v:/p/ankit_singh/EQ3HzSKEl-pGpMIK0vh7HIkBtWg50-vco3aTyxOZevmuTA?e=2pmmWB)
[https://algoworks-my.sharepoint.com/:v:/p/ankit_singh/EeI8qai1iftKvwo9nogCJREBFQXCf3qf8d-qwIt-25CB7g?e=bkYqAH)
I tried many things but not able to achieve this. So help me with this and share some code to review.
Thanks.