googlemaps / googlemaps/react-native-navigation-sdk

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

Aperta
#607 1 commento 0 reazioni 2 assegnatari Rivendicata da @jokerttu Vedi su GitHub
priority: p2 type: bug
Lingua principale
TypeScript
Stelle
227
Fork
38
Merge medio
5g 7h
PR unite (30g)
10

Descrizione

### 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_

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.