mdns_plugin
로컬 네트워크에서 서비스를 탐지할 때 이벤트를 생성하는 iOS 및 Android용 mDNS 서비스 탐색 플러그인입니다.
Flutter 애플리케이션 예제
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
This repository includes Flutter application and packages.
The applications here are developed on the v1 branch and currently a configuration is included to use CircleCI to build Android APK's when merged into the master branch. The APK images can be downloaded as artifacts from CircleCI once built.
A Flutter mDNS package, which is published at pub.dev. The example which demonstrates the use is here.
A package which provides connection and reflection for remote gRPC services. Please see pub.dev for the package information, and the example which demonstrates the use is here.
On a Macintosh, use the following commands in order to make a working gRPC installation, assuming you have Homebrew already installed:
bash% brew install grpc && brew upgrade grpc
We assume that the protocol buffer files (with extension .proto) are in the folder lib/protobuf of your project. The generated output should go into the lib/providers folder.
For Macintosh, there is a script in order to generate the Dart files:
bash% git clone git@github.com:djthorpe/flutter.git
bash% cd flutter/grpc_client
bash% install -d lib/providers/google/protobuf
bash% install -d lib/providers/grpc/reflection/v1alpha
bash% source ../genproto-darwin.sh
bash% flutter test && flutter build ios