Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation update for #22 #56

Merged
merged 13 commits into from
Feb 4, 2024
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@

## 1.5.0
Fixed #22: NsdServiceInfo now includes a list of addresses for the service (ipv4 or ipv6). This is
currently not supported on iOS or macOS



## 1.4.0
Added support for Kotlin 1.5.20

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ this [video](https://developer.apple.com/videos/play/wwdc2020/10110/).

*Note that you don't need to worry about modifying `Info.plist` if you are just testing with a simulator.*

The iOS and macOS implementations currently do not return *hostAddresses*

## Note about Windows

Windows does not have native support for MDNS, therefore it is implemented using the https://github.com/mjansson/mdns library
Expand Down
1 change: 1 addition & 0 deletions lib/flutter_nsd.dart
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ class FlutterNsd {
/// Info class for holding discovered service
class NsdServiceInfo {
final String? hostname;
/// A list of strings containing the known addresses for this host (Ipv4 and Ipv6). The iOS implementation currently returns null
final List<String>? hostAddresses;
final int? port;
final String? name;
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_nsd
description: A Flutter plugin for Network Service Discovery (mDNS) that uses platform API on Android, iOS, MacOS and Windows.
version: 1.4.0
version: 1.5.0
homepage: https://github.com/Nimrodda/flutter_nsd

environment:
Expand Down
Loading