Overview
The nsd_android package is a Flutter plugin submodule for Android that enables network service discovery (NSD), allowing apps to detect and connect to local network services such as printers, media devices, or custom servers. It integrates with Android's built-in NSD framework to broadcast and discover services on the same network. This plugin is designed to be used alongside its parent package, providing platform-specific functionality for Android devices. It supports zero-configuration networking in local environments.
Use cases
- Discovering local network devices
- Connecting to IoT devices on the same network
- Enabling peer-to-peer communication in LAN
- Broadcasting app services on local networks
- Supporting smart home device integration
Key features
- Android-specific NSD implementation
- Integration with Android's native NSD API
- Zero-configuration networking
- Service broadcasting and discovery
- Lightweight and modular design
Suitable for
- Developers building LAN-based apps
- IoT application developers
- Apps requiring local device discovery
- Flutter apps targeting Android only
- Networked utilities and tools
Considerations
- Requires Android platform only
- Depends on parent nsd package
- Limited to local network scope
- No iOS support
- Permissions required for network access