googlemaps / googlemaps/react-native-navigation-sdk
[Feature request]: Guidance instruction banner should respect safe areas on Android and support position/offset customization
@illuminati1911 已经在做这个了。
开始于 2026年3月18日。
- 主要语言
- TypeScript
- 星标
- 227
- 派生
- 38
- 平均合并
- 4 天 8 小时
- 30 天内合并 PR
- 16
描述
Description
On Android, the turn-by-turn guidance instruction banner does not account for the device's safe area (status bar, camera cutouts, etc.). The banner renders at the very top of the screen and can overlap with the system status bar, making it difficult to read.
On iOS, the guidance banner correctly respects safe area insets and positions itself below the status bar.
Expected behavior
- The guidance instruction banner should respect Android safe area insets (status bar, display cutouts) by default, similar to how it behaves on iOS.
- Ideally, a prop (e.g.
guidanceBannerInsetsorguidanceBannerTopOffset) should be exposed so developers can customize the banner's position — primarily the top offset — to accommodate custom UI layouts, notches, or status bar overlays.
Additional context
This is particularly important on modern Android devices with punch-hole cameras, notches, or rounded corners where the system UI overlaps with the top of the screen. Having parity with iOS safe area handling — or at minimum an escape hatch to control the offset — would greatly improve the developer and end-user experience.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
评估
这个 Issue 还没有评估数据。