패키지, 저장소 및 앱 카테고리 검색

패키지 상세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 패키지입니다. 애플리케이션은 로컬 네트워크에 있는 프린터, 스마트 홈 기기 또는 사용자 정의 네트워크 서비스와 감지하고 상호작용할 수 있게 해줍니다. 새로운 서비스가 발견되거나 사용 불가 상태가 되면 플러그인이 이벤트를 발생시켜 실시간 네트워크 인식을 가능하게 합니다. 지역 환경에서 구성 없이 네트워킹이 필요한 앱에 적합합니다.

사용 사례

  • 로컬 네트워크 장치 탐색
  • 사물인터넷 장치에 연결
  • 영구 구성 네트워킹 활성화
  • 현지 서비스 통합 구축
  • 실시간 장치 존재 감지

주요 기능

  • 크로스 플랫폼 지원 (iOS 및 안드로이드)
  • 이벤트 기반 서비스 발견
  • 로컬 네트워크 서비스 스캔
  • 서비스 이벤트를 듣기 위한 간단한 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

카테고리

소스 저장소

이 패키지를 사용하는 프로젝트

아직 데이터가 없습니다.