googlemaps / googlemaps/react-native-navigation-sdk

[Bug]: CarPlay Simulator crashes on iOS versions > 26.3

Ouverte
#607 1 commentaire 0 réactions 2 personnes assignées Réclamée par @jokerttu Voir sur GitHub
priority: p2 type: bug
Langage dominant
TypeScript
Étoiles
227
Forks
38
Merge moyen
5 j 7 h
PR mergées (30 j)
10

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Description of the bug

The CarPlay example works on the iOS 18 simulator, but on iOS 26.4.1 and above the CarPlay crashes immediately when the CarPlay scene launches. However the app process does not crash. Apple’s CarPlayTemplateUIHost crashes with doesNotRecognizeSelector in CPSMapTemplateViewController _updateShareButtonVisibility / _configureNavigationBarShareButton.

I reduced the setup to a bare minimum CPMapTemplate() with no Google map content, and it still crashes, which suggests an Apple CarPlay Simulator regression rather than an issue in the React Native integration.

Needs further investigation.

Image

### React Native version

0.83.1

### React version

19.2.0

### Package version

0.16.1

### Native SDK versions

- [x] I haven't changed the version of the native SDKs

### React Native Doctor Output

-

### Steps to reproduce

Use CarPlay example project in iOS >= 26.4

### Expected vs Actual Behavior

Should work and not crash

### Code Sample

```javascript
// Example code here
```

### Additional Context

_No response_

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.