FLUTTER ECOSYSTEM

terrabythia/flutter_mdns_plugin

一个用于在 Android 和 iOS 上发现 mDNS 服务的 Flutter 插件

flutter_mdns_plugin 项目封面
Stars
49
Forks
40
最近推送(UTC)
2022年1月7日
项目状态
未归档
Sander Bruggeman GitHub avatar
GITHUB User

Sander Bruggeman ↗

语言JavaObjective-CDartRuby

此仓库发布的插件

使用的依赖

依赖清单 1 项
  • flutter{"sdk":"flutter"}

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

展开 / 收起项目 README

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/