[Feature request]: Guidance instruction banner should respect safe areas on Android and support position/offset customization

Đang mở
#552 4 bình luận 6 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 5 ngày

@illuminati1911 đang làm issue này rồi.

Từ ngày 18/3/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

type: bug

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. guidanceBannerInsets or guidanceBannerTopOffset) 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.

Image
Ngôn ngữ chính
TypeScript
Star
226
Fork
39
Merge trung bình
1 ngày 20 giờ
Pull request đã merge (30 ngày)
7

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của googlemaps/react-native-navigation-sdk

Tất cả issue của googlemaps/react-native-navigation-sdk

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.