CarPlay app not receiving data updates when iPhone screen is locked

We are building a CarPlay app and have run into an issue with data updates.

When the app is running on the CarPlay display and the iPhone screen is locked, no data updates are shown on the CarPlay screen. As soon as the phone is unlocked, the data updates appear instantly on the CarPlay display.

Has anyone encountered this behavior before? Is there a specific setting, entitlement, or background mode we need to enable in order to ensure the CarPlay app continues to receive and display data while the iPhone is locked?

Any guidance would be greatly appreciated.

I'm facing this issue with my app's Live Activity on CarPlay (when using a timer). Is this the same issue you're having? Or is yours a full CarPlay app

Precisely. We addressed this issue by using an alternative library, react-native-background-timer.

We observed that the JavaScript timer tends to freeze the app when it is in suspended mode.

I hope this solution proves helpful for your implementation.

CarPlay app not receiving data updates when iPhone screen is locked
 
 
Q