mdns_plugin
mDNS Service discovery plugin for iOS & Android which generates events based on discovery of services on the local network.
Flutter application examples
English project snapshot. Visit GitHub for the latest content.
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