flutter_mdns_plugin 0.0.3 copy "flutter_mdns_plugin: ^0.0.3" to clipboard
flutter_mdns_plugin: ^0.0.3 copied to clipboard

Flutter mDNS plugin

flutter_mdns_plugin #

A simple plugin for discovering mdns services in Flutter on Android and iOS. The example project is set to discover Chromecasts only, but you can set any mdns service by changing the discovery_service string in device_scanner.dart.

iOS installation Make sure you add the Foundation framework to your iOS project in xcode.

Android installation No installation required. Just make sure the permission android.permission.INTERNET is added in your AndroidManifest.xml, but that should be automatically set when creating a new Flutter project.

Most of the code for Android came from this repository: https://github.com/platinumjam/flutter_mdns

Most of the code for iOS came from this resource: https://www.eventbrite.com/engineering/bonjour-gatekeeper-how-to-implement-bonjour-service-in-an-ios-or-android-app/

Will be better documented in the near future.

7
likes
110
pub points
87%
popularity

Publisher

unverified uploader

Flutter mDNS plugin

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_mdns_plugin