googlemaps / googlemaps/react-native-navigation-sdk

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

未关闭
#607 1 条评论 0 个 reaction 已指派 2 人 已被 @jokerttu 认领 在 GitHub 查看
priority: p2 type: bug
主要语言
TypeScript
星标
227
派生
38
平均合并
4 天 8 小时
30 天内合并 PR
16

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。