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

Aperta
#379 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
52/100
Tipo di issue
Documentazione
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
flutter

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Go
Stelle
6
Fork
3
Merge medio
6h 28m
PR unite (30g)
362

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di AlphaWaveSystems/flutter-probe

Tutte le issue di AlphaWaveSystems/flutter-probe

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.