A compat library for Bluetooth Low Energy scanning on Android.
Full Changelog: https://github.com/NordicSemiconductor/Android-Scanner-Compat-Library/compare/1.5.1...1.6.0
This version includes a fix for #109 (with #111). The user ScanCallback
instance is held as WeakReference
.
This version migrates the library to Java 8. You will need to enable desugaring of Java 8 language features if you have not already done so. (And if you are releasing an Android library, then anyone who uses that library will also have to enable desugaring.) We expect for nearly all Android projects to have already enabled desugaring. But if this causes problems for you, please use version 1.4.5, which is feature-equal to 1.5.0.
This release fixes the following issue:
PendingIntent
not being properly stopped, has been fixed by adding an extra parameter to startScan
and stopScan
methods (#97).The new version fixes the following issues:
onStartCommand
(#51)It is released only on Maven Central, as JCenter has been shut down.
Issues Fixed
Issues Fixed:
Issues fixed:
PendingIntent
fixed.Improvements:
Feature equal to 1.3.1, but migrated to Android Jetpack (androidX).
Bugs fixed: