Subject says basically all. I have a CarPlay audio app whose network accesses (started answering playableContentManager(_:,initiatePlaybackOfContentItemAt:, completionHandler:)) fails when the application is started from the CarPlay screen with the phone locked.
All calls are https; no data protection active; the app works correctly when cached content is played (ie: it's the network access that fails); the app works correctly if the phone is unlocked.
I'd say this started around iOS12 (I'm not sure, though)... it was working when I started implementing CarPlay (~iOS10).
I cannot find any documentation for the behaviour. Is this expected (and there is some workaround) or should I file a bug against CarPlay?
Thank you in advance!