ble_keeper 0.1.0-beta.1
ble_keeper: ^0.1.0-beta.1 copied to clipboard
Keeps a BLE peripheral connected in the background, after the app is killed and after a reboot, on Android and iOS, and reports when the OS blocks it.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add ble_keeperWith Flutter:
$ flutter pub add ble_keeperThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
ble_keeper: ^0.1.0-beta.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:ble_keeper/ble_keeper.dart';