Re-check bonsoir 7.x on Android and iOS against a newer SDK; relax the 6.0.2 pin if it builds

Abierto
#387 0 comentarios 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
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
54/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Tranquilo
Stack tecnológico
android, dart, flutter, ios
Área
mobile, testing

Línea de trabajo

Start with native-test-apps/flutter/pubspec.yaml, the Android configuration under native-test-apps/flutter/android, and the advertiser at lib/probe_advertiser.dart. Record the available Android SDK platform, Android Gradle Plugin and Kotlin versions, then try the specified Android and iOS profile builds and run flutter analyze lib/probe_advertiser.dart. If builds and analysis pass, verify Bonjour discovery on a physical WiFi device and update the fixture and docs; otherwise report the exact failure details and keep the 6.0.2 pin.

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

Descripción

dependencies documentation

Follow-up to #379.

Why

The ProbeAdvertiser docs (Studio and iOS pages) and the Flutter fixture (native-test-apps/flutter) pin bonsoir: 6.0.2. On 2026-10-11 the latest release, bonsoir 7.1.5, did not build for Android: bonsoir_android 7.1.3 failed with Unresolved reference 'hostname' in BonsoirService.kt against the Android SDK platform 36 that was installed at the time. bonsoir 6.0.2 built for iOS (profile, no codesign) and Android (profile) with the same advertiser code. The pin stays until a newer bonsoir builds on both platforms.

What to test

  1. Use the newest Android SDK platform available. Record its API level, plus the Android Gradle Plugin and Kotlin versions used by native-test-apps/flutter/android.
  2. In native-test-apps/flutter/pubspec.yaml, change bonsoir to 7.1.5 (or the newest 7.x), run flutter pub get, then run flutter build apk --profile --dart-define=PROBE_AGENT=true --dart-define=PROBE_WIFI=true. Expected: the build succeeds.
  3. Same change for iOS: flutter build ios --profile --no-codesign --dart-define=PROBE_AGENT=true --dart-define=PROBE_WIFI=true. Expected: the build succeeds with the fixture's deployment target (bonsoir needs at least 13.0).
  4. Run flutter analyze lib/probe_advertiser.dart. bonsoir 7.0.0 is marked breaking in its changelog (it renames the service host field), so confirm the advertiser still compiles unchanged (initialize(), start(), stop()).
  5. On a physical device in WiFi mode, check that the service is advertised (dns-sd -B _flutterprobe._tcp local.) and that Studio's WiFi overlay lists the device.

If everything passes

Open a PR that moves the pin in the fixture and in the docs to the new version, removes the "7.1.x was not tried further" note from website/src/content/docs/tools/studio.md, and adds a CHANGELOG entry.

If it fails

Comment here with the exact error, the Android SDK platform, the Gradle and Kotlin versions and the bonsoir_android version. Keep the 6.0.2 pin.

Refs #379.

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.