CarPlay audio app can't start when launched from locked device











up vote
4
down vote

favorite
1












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 wich 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?










share|improve this question

















This question has an open bounty worth +100
reputation from lorenzoliveto ending in 6 days.


This question has not received enough attention.
















  • stackoverflow.com/questions/22372095/…
    – Spynet
    yesterday















up vote
4
down vote

favorite
1












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 wich 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?










share|improve this question

















This question has an open bounty worth +100
reputation from lorenzoliveto ending in 6 days.


This question has not received enough attention.
















  • stackoverflow.com/questions/22372095/…
    – Spynet
    yesterday













up vote
4
down vote

favorite
1









up vote
4
down vote

favorite
1






1





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 wich 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?










share|improve this question















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 wich 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?







ios ios12 carplay






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 2 days ago

























asked Nov 7 at 13:06









lorenzoliveto

2,7841130




2,7841130






This question has an open bounty worth +100
reputation from lorenzoliveto ending in 6 days.


This question has not received enough attention.








This question has an open bounty worth +100
reputation from lorenzoliveto ending in 6 days.


This question has not received enough attention.














  • stackoverflow.com/questions/22372095/…
    – Spynet
    yesterday


















  • stackoverflow.com/questions/22372095/…
    – Spynet
    yesterday
















stackoverflow.com/questions/22372095/…
– Spynet
yesterday




stackoverflow.com/questions/22372095/…
– Spynet
yesterday

















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53190068%2fcarplay-audio-app-cant-start-when-launched-from-locked-device%23new-answer', 'question_page');
}
);

Post as a guest





































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53190068%2fcarplay-audio-app-cant-start-when-launched-from-locked-device%23new-answer', 'question_page');
}
);

Post as a guest




















































































Popular posts from this blog

Schultheiß

Liste der Kulturdenkmale in Wilsdruff

Android Play Services Check