We have an audio app and we want to add CarPlay to it. The app basically has a list of radio streams and the user can select which one to play.
Everything is fine if I launch the app from the phone while connected to CarPlay or if I launch it from CarPlay and device is unlocked. If the device is locked the app starts, I can see the elements on the list in CarPlay but when one of that is selected nothing happens.
I have implemented MPPlayableContentDelegate
, MPPlayableContentDataSource
and the app has the audio background mode selected. The streams are fetched from network but then are cached to disk.
Has everyone encountered the same issue or have any hints on how to solve it? Do you know if Apple has a simple working audio app with the CarPlay support to test out?