Skip to content

Add a new flutter cli command, running-apps, using mDNS app discovery - #180098

Merged
jwren merged 21 commits into
flutter:masterfrom
jwren:mdns-3
Feb 9, 2026
Merged

jwren merged 21 commits into
flutter:masterfrom
jwren:mdns-3

Conversation

@jwren

@jwren jwren commented Dec 18, 2025 •

Copy link
Copy Markdown
Member

Includes:

  • Display running apps in a formatted table with age calculation
  • Implement mDNS discovery for running apps (multiple devices/interfaces)
  • Deduplicate apps by WebSocket URI
  • Centralize mDNS device advertisement in MDNSDeviceDiscovery
  • Ensure ResidentRunner advertises correct app name and cleans up
  • Add network utility functions and JSON support for running-apps
  • Add comprehensive tests for discovery and list command

Lastly, this change uses mDNS to discover running Flutter apps, the multicast_dns package is used instead of mdns_dart as the discovery functionality is insufficient in the mdns_dart package, only discovering a maximum of one service.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants