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

オープン
#379 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
52/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
静か
技術スタック
flutter

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Go
スター
6
フォーク
3
平均マージ
6時間 28分
マージ済み PR(30日)
362

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

AlphaWaveSystems/flutter-probe のほかの issue

AlphaWaveSystems/flutter-probe の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。