ProbeAdvertiser example: pin a bonsoir version that builds for Android and use the current API

Đang mở
#379 1 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 1 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
52/100
Loại issue
Tài liệu
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
flutter
Lĩnh vực
documentation, mobile

Hướng nghiên cứu

Start with the ProbeAdvertiser example in the docs and the repository’s Flutter fixture, then check bonsoir’s documentation for the iOS requirements and verify newer bonsoir_android versions against a newer Android SDK. Update the version pin and API usage if a newer version builds; document the reason for pinning 6.0.2 and the iOS requirements until then.

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

Mô tả

documentation

Problem

The ProbeAdvertiser example in our docs used bonsoir: ^5.1.10 and await broadcast.ready. The current API is await broadcast.initialize(); await broadcast.start();.

The latest bonsoir (7.1.5, whose Android plugin is bonsoir_android 7.1.3) did not build for Android in our check on 2026-10-11: BonsoirService.kt uses NsdServiceInfo.hostname, which was unresolved against the Android SDK platform 36 that was installed (Unresolved reference 'hostname'). bonsoir 6.0.2 builds for iOS (profile, no codesign) and Android (profile) with the same code.

Done / proposed

  • The docs and the repository's Flutter fixture now use bonsoir: 6.0.2 and initialize() (PR for the physical-device fixture).
  • Re-check newer bonsoir_android versions against a newer Android SDK platform and relax the pin when one builds; until then say in the docs why 6.0.2.
  • Note the iOS requirements from bonsoir's own docs: deployment target 13.0 or later, and on iOS 14+ NSLocalNetworkUsageDescription plus the service type in NSBonjourServices.

Scheduled for the next minor release.

Ngôn ngữ chính
Go
Star
6
Fork
3
Merge trung bình
6 giờ 28 phút
Pull request đã merge (30 ngày)
362

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 AlphaWaveSystems/flutter-probe

Tất cả issue của AlphaWaveSystems/flutter-probe

Issue tương tự

Thêm issue về Go

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.