FLUTTER ECOSYSTEM

rohitsangwan01/web_view_ble

WebView Flutter에 블루투스 저전력 지원 추가

web_view_ble 프로젝트 이미지
Stars
4
Forks
4
최근 푸시(UTC)
2024. 7. 15.
프로젝트 상태
활성
Rohit Sangwan GitHub avatar
GITHUB User

Rohit Sangwan ↗

Haryana India
언어JavaScriptDartRubySwiftKotlinObjective-C

이 저장소가 배포한 패키지

사용 중인 의존성

의존성 목록 5 개

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

README 펼치기 / 접기

WebView Ble

web_view_ble version

Flutter library To add Bluetooth Low Energy Support in WebView Flutter

Getting Started

Using flutter_inappwebview for WebView, Make sure to Check their docs for setting up WebView

And universal_ble for bluetooth, check docs for platform specific setup

Usage

Make sure to ask bluetooth permission first, check universal_ble for more details

In your onLoadStop callback of flutter_inappwebview , add this method

WebViewBle.setup(controller: controller, context: context);

Dispose when not needed anymore

WebViewBle.dispose();

Checkout /example for more details

Features

The web_view_ble lib supports the following bluetooth Api's:

  • Request Device (Filters : ServiceId , name , namePrefix, manufacturerData)
  • Connect
  • Disconnect
  • Discover services
  • Discover characteristics
  • Read/Write
  • Subscribe/Unsubscribe
  • GetAvailability / AvailabilityChanged events

Attribution

Thanks to WebBle for Ble javascript Polyfill, This project is licensed under the Apache Version 2.0 License as per the LICENSE file.

Additional information

This is Just The Initial Version feel free to Contribute or Report any Bug!