Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emojis in chapter titles cause CarPlay to crash #1844

Open
mitchdowney opened this issue Jul 9, 2023 · 5 comments
Open

Emojis in chapter titles cause CarPlay to crash #1844

mitchdowney opened this issue Jul 9, 2023 · 5 comments
Labels
bug Something isn't working more info needed More info is needed for work to continue

Comments

@mitchdowney
Copy link
Member

This very excellent feature/bug report was sent to us by email from a user.


Please consider adding an option to hide emoji's or icons in the Chapter titles at an application level.
The reasoning for this is that I have seen in some vehicles (2014 in my case) the display of newer emojis cause the entertainment system to crash and restart. A workaround is to disable bluetooth or carplay on the car entertainment system until that chapter is completed and then reconnect. An example of a chapter that crashes the system is https://podverse.fm/clip/94guo6ItdKv

An example of the feature would be to go in settings/other and toggling something like suppress special characters. This would somehow scrub those from the applications output to Bluetooth or Carplay.

Some minor tech details.
Ford 2014 Sync
iOS

Personally, I think it is likely anything in Unicode 15.0 and above that is causing the problem. Since the car infotainment system does not have the updated range descriptions it causes some sort of an overflow and crashes. Let me know if you need me to test something before general release if you decide to implement it.

@mitchdowney mitchdowney added the bug Something isn't working label Jul 9, 2023
@mitchdowney
Copy link
Member Author

Hopefully there is a reliable way to strip all emojis from a text string. I've never tried to do that before.

@jamescridland
Copy link

Your bug report says "Ford 2014 SYNC". There's no such thing.

Ford Sync 3 was introduced on Dec 11 2014. The previous version was MyFord Touch, which doesn't have CarPlay - just connecting via Bluetooth. https://www.ford.com/support/category/sync-and-technology/sync-with-myford-touch/

Apple CarPlay only came to Ford cars in late 2016 (as a paid upgrade) or 2017 (with SYNC 3). I suspect this is the Bluetooth stack on the Ford misbehaving, rather than Apple CarPlay itself.

@JerodeH
Copy link

JerodeH commented Jul 10, 2023

The version it is occurring on:
Sync 2. Software version 3.10.16180.EA.0_PRODUCT

@mitchdowney
Copy link
Member Author

@jamescridland @JerodeH

@kreonjr tried reproducing the emoji crash with his CarPlay yesterday, but the emojis loaded without issue, so this does not appear to be a widespread issue.

If emojis in titles work for a majority of CarPlay users, then rather than remove emojis by default, I'm thinking we should just add an optional setting, so people who run into the emoji crash can hide emojis.

@mitchdowney
Copy link
Member Author

Ok based on @jamescridland's comment, could this be a non-standard or outdated device for CarPlay? 2014 is the first year CarPlay was released, and it does make me wonder if your stereo has a different Bluetooth based connection than say a 2015 version.

Does your display look like the standard CarPlay app? Here is a screenshot:

image

In any case, the only resolution I can think of is a workaround to add a custom setting that lets you remove emojis from all text. A problem with that would be identifying all the possible strings that could load in CarPlay...do 1) only emojis that appear in the player cause the crash? Or 2) does CarPlay also crash if an emoji is loaded in the Podcasts list on the CarPlay home screen?

If it's 1), we could strip the emojis during the playerLoadNowPlayingItem and createTrack functions, but if it's also 2) we'd need to strip all the emojis from the other CarPlay screens.

But hopefully it's not 3) due to the phone + CarPlay interaction, if the emojis on the phone's screens were to also cause CarPlay to crash, the workaround would involve us adding remove emoji logic to the whole app basically, and maybe that is as simple as adding it to the <Text> component, but if that doesn't work it could be a big task.

@mitchdowney mitchdowney self-assigned this Jul 11, 2023
@mitchdowney mitchdowney added the more info needed More info is needed for work to continue label Jul 31, 2023
@mitchdowney mitchdowney removed their assignment Jul 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working more info needed More info is needed for work to continue
Projects
None yet
Development

No branches or pull requests

3 participants