パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v1.1.4

mdns_plugin

iOSおよびAndroid用のmDNSサービス検出プラグインで、ローカルネットワーク上のサービスの検出に基づいてイベントを生成します。

30日間ダウンロード
47
いいね数
8
Pub ポイント
40

パッケージをインストール

flutter pub add mdns_plugin

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

mdns_plugin は、iOS および Android デバイスで mDNS(マルチキャスト DNS)サービス検出を可能にする Flutter/Dart パッケージです。アプリケーションがローカルネットワーク上のプリンターやスマートホームデバイス、カスタムネットワークサービスなどのサービスを検出し、それらとやり取りできるようにします。新しいサービスが発見されたり、利用できなくなったときにプラグインがイベントを発行し、リアルタイムのネットワーク認識を実現します。ローカル環境でのゼロコンフィギュレーションネットワーキングを必要とするアプリに最適です。

用途

  • ローカルネットワークデバイスの発見
  • IoTデバイスへの接続
  • ゼロ構成ネットワーキングの有効化
  • ローカルサービスの統合を構築する
  • リアルタイムでのデバイスの存在検出

主な機能

  • クロスプラットフォーム対応(iOSおよびAndroid)
  • イベント駆動型サービスディスカバリ
  • ローカルネットワークサービススキャン
  • サービスイベントをリッスンするためのシンプルな API
  • 軽量で効率的

適している対象

  • IoTアプリケーション開発者
  • ローカルネットワークツールの構築者
  • スマートホームアプリの作成者
  • ネットワーク対応モバイルアプリ
  • 自動デバイス検出が必要なアプリ

注意事項

  • ローカルネットワークへのアクセスが必要です
  • 特定のファイアウォールの背後に機能しない可能性があります
  • ローカルサブネット検出に限定
  • 組み込みの暗号化または認証なし
  • パフォーマンスはネットワーク状態に依存します

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

flutter

CircleCI

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.

mDNS Plugin

A Flutter mDNS package, which is published at pub.dev. The example which demonstrates the use is here.

gRPC Plugin

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.

Notes on developing a gRPC Client

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

カテゴリー

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。