osociety / osociety/network_tools_flutter

getAllPingableDevices host is null on Android

Open
#31 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Dart
Stars
15
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Using an Android device after calling HostScanner.getAllPingableDevices( or HostScanner.getAllPingableDevicesAsync( I am waiting for the hostname response await activeHostFound.hostName but it returns null for all devices.

Results look ok on Linux (with network_tools_flutter)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue on Android with HostScanner.getAllPingableDevices() and HostScanner.getAllPingableDevicesAsync(), then trace the Android implementation of these entry points and compare it with the Linux behavior described. Done means discovered devices expose a hostname instead of null on Android, with the existing scanner behavior still working on Linux.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, dart, flutter
Domain
mobile-dev, networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.