Satellite variables return -1 in feature forms (Internal GPS and External Mock)

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

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

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
55/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
cpp, ios
Lĩnh vực
mobile

Hướng nghiên cứu

Start by tracing @position_visible_satellites and @position_used_satellites in iOS feature-form evaluation for the Internal and External (Mock) providers. Compare their handling with the GPS info dialog, then reproduce the form behavior on the listed iPhone environment. Done means unavailable satellite data is saved as empty/NULL rather than -1 and matches the dialog.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug GPS iOS 🍎

Description
On iOS, @position_visible_satellites and @position_used_satellites return -1 in feature forms with both the Internal and the External (Mock) provider. It also doesn't match the GPS info dialog, which shows N/A.
Project: tester-ws-1/test_external_receiver

Environment

  • Device: iPhone 15
  • OS: iOS 26
  • App build: 2026.5.0 (952111)
  • Affected providers: Internal, External (Mock)

Steps to reproduce

  1. Set the position provider to Internal.
  2. Open a feature form whose fields use @position_visible_satellites and @position_used_satellites.
  3. Add a feature and check the values.
  4. Switch the provider to External (Mock) and repeat steps 2–3.

Actual results
With both providers, @position_visible_satellites and @position_used_satellites return -1, and -1 gets saved to the feature as if it were real data.

Image

Expected results
The variables return real values. If there's no satellite data, they return empty/NULL, matching what the GPS info dialog shows.

Screenshots

Image
Ngôn ngữ chính
C++
Star
394
Fork
91
Merge trung bình
2 ngày 10 giờ
Pull request đã merge (30 ngày)
16

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 MerginMaps/mobile

Tất cả issue của MerginMaps/mobile

Issue tương tự

Thêm issue về C++

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.