Re-check bonsoir 7.x on Android and iOS against a newer SDK; relax the 6.0.2 pin if it builds
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 54/100
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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
- 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. - In
native-test-apps/flutter/pubspec.yaml, changebonsoirto 7.1.5 (or the newest 7.x), runflutter pub get, then runflutter build apk --profile --dart-define=PROBE_AGENT=true --dart-define=PROBE_WIFI=true. Expected: the build succeeds. - 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). - 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()). - 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.
- Langage dominant
- Go
- Étoiles
- 6
- Forks
- 3
- Merge moyen
- 6 h 28 min
- PR mergées (30 j)
- 362
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de AlphaWaveSystems/flutter-probe
-
agent: is checked on a wrapper holding several checkables answers from the first one in tree orderOuvertebug
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
AlphaWaveSystems/flutter-probe#865 ·
Les mainteneurs répondent en général sous 1 jour
-
area/cli bug
Difficulté 2/5 1-3 heures Accessibilité débutants 73/100
AlphaWaveSystems/flutter-probe#424 ·
Les mainteneurs répondent en général sous 1 jour
-
area/docs documentation
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
AlphaWaveSystems/flutter-probe#409 ·
Les mainteneurs répondent en général sous 1 jour
-
Dial timeout error should say how long it waited and name the timeout settingPeut-être pris @jay23606 l’a pris il y a 2 jours. Ouvertearea/cli bug
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
AlphaWaveSystems/flutter-probe#408 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 4/5 3-5 jours Accessibilité débutants 45/100
AlphaWaveSystems/flutter-probe#888 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de AlphaWaveSystems/flutter-probe
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
IBM-Cloud/terraform-provider-ibm#7115 ·
Les mainteneurs répondent en général sous 2 jours
-
Difficulté 2/5 1-3 heures Accessibilité débutants 86/100
fluxcd/notification-controller#1441 ·
Les mainteneurs répondent en général sous 1 jour
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 66/100
volcengine/volcengine-go-sdk#163 · 1 commentaire ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
OneBusAway/maglev#2145 ·
Les mainteneurs répondent en général sous 2 jours
-
priority/medium status/ready type/chore
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
discobox-ai/discobox#1357 ·
Les mainteneurs répondent en général sous 1 jour