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

Abierto
#379 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
52/100
Tipo de issue
Documentación
Claridad
Bastante claro
Estado de actividad
Tranquilo
Stack tecnológico
flutter

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Go
Estrellas
6
Forks
3
Merge medio
6 h 28 min
PR fusionados (30 d)
362

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de AlphaWaveSystems/flutter-probe

Todos los issues de AlphaWaveSystems/flutter-probe

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.