bg_ble_scanner 1.0.1
bg_ble_scanner: ^1.0.1 copied to clipboard
A Flutter plugin for continuous BLE scanning in the background using an Android Foreground Service. Works even when the screen is locked.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add bg_ble_scannerWith Flutter:
$ flutter pub add bg_ble_scannerThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
bg_ble_scanner: ^1.0.1Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:bg_ble_scanner/bg_ble_scanner.dart';