ble_keeper 0.1.0-beta.2
ble_keeper: ^0.1.0-beta.2 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 Flutter:
$ flutter pub add ble_keeperThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
ble_keeper: ^0.1.0-beta.2Alternatively, your editor might support 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';