Releases: AltBeacon/android-beacon-library
Bluetooth Medic and Android 8.1 Screen Off Scanning
Test build for Android 8.1 scanning with screen off
This build is intended for testing on projects using Android 8.1 scanning with the screen off.
To use this release, you must download the aar file attached to this release, and configure it with your project like so:
- Edit your innermost build.gradle file to add the beta library AAR as a dependency like so:
dependencies {
compile 'android-beacon-library:2.12.4-2-gca0c23c@aar'
}
-
Create a /libs folder next to the build.gradle above, then download and copy the aar file attached to this release into this folder.
-
Configure your app's outermost build.gradle File to reference the /libs directory from above in a flatDir declaration:
allprojects {
repositories {
jcenter()
flatDir {
dirs 'libs'
}
}
}
Android 8.0 Bug Fix 4
Bug Fixes:
- Fix performance problems when using identifiers 3-15 bytes caused by
Identifier#toHexString(). (#615, David G. Young) - Restore missing runningAverageRssi values (#621, David G. Young)
- Fix NPE on ExtraBeaconDataTracker (#626, David G. Young)
- Fix regression with
RunningAverageRssiFilter.setSampleExpirationMilliseconds
being overwritten when committing ranged beacon measurements. (#629, Aaron Kromer) - Fix missing running average RSSI in callbacks when apps do not use the
scheduled scan job feature. (#630, Aaron Kromer) - Fix copying of multi-frame beacon flag in
Beacon(Beacon)
constructor (#630, Aaron Kromer) - Fix the
AltBeaon(Beacon)
copy constructor which omitted some data fields (#630, Aaron Kromer)
Test Build: Performance Improvements for 3-15 byte identifiers
This build is intended for testing on projects using beacon layouts with identifiers between 3 and 15 bytes in length.
To use this release, you must download the aar file below, and configure it with your project like so:
- Edit your innermost build.gradle file to add the beta library AAR as a dependency like so:
dependencies {
compile 'android-beacon-library-2.12.3-1-gcc797f3.aar'
}
-
Create a /libs folder next to the build.gradle above, then download and copy the aar file below into this folder.
-
Configure your app's outermost build.gradle File to reference the /libs directory from above in a flatDir declaration:
allprojects {
repositories {
jcenter()
flatDir {
dirs 'libs'
}
}
}
Android 8.0 Bug Fix 3
Bug Fixes:
- Fix NullPointerException in ProcessUtils. (#598, David G. Young)
- Fix ConcurrentModificationException crashing app on Android 8 when monitored regions are
changed at the same time the app shifts from active scanning to passive scanning.
(#578, David G. Young) - Fix ConcurrentModifictionExceptions starting ScanJobs. (#584, #588, David G. Young)
- Fix NullPointerException when BluetoothLeScanner cannot be obtained.
(#583, David G. Young)
Android 8.0 Bug Fix 3 Beta 2
Bug Fixes:
- Fix ConcurrentModifictionExceptions starting ScanJobs. (#584, #588 David G. Young)
- Fix NullPointerException when BluetoothLeScanner cannot be obtained.
(#583, David G. Young)
To use this release, you must download the aar file below, and configure it with your project like so:
- Edit your innermost build.gradle file to add the beta library AAR as a dependency like so:
dependencies {
compile 'android-beacon-library:2.12.3-beta2@aar'
}
-
Create a /libs folder next to the build.gradle above, then download and copy the the android-beacon-library-2.12.3-beta2.aar file below into this folder.
-
Configure your app's outermost build.gradle File to reference the /libs directory from above in a flatDir declaration:
allprojects {
repositories {
jcenter()
flatDir {
dirs 'libs'
}
}
}
Android 8.0 Bug Fix 2
Bug Fixes:
- Fix stack overflow caused by scan period of zero seconds, caused by 2.12 upgrade of existing
apps. (#572, David G. Young) - Suppress error log on ScanState deserialization if file does not exist yet.
(#570, David G. Young) - Turn off scanning after unbind, which was previously left on forever in some cases.
(#569, David G. Young)
Android 8.0 bug fix
Bug Fixes:
- Fix crash on Android 8.0 background scan when bluetooth is off. (#562 Juliane Lehmann)
- Fix "Scanning too frequently" error with non-zero betweenScanPeriod and scanPeriod+betweenScanPeriod < 6000, and full-power scanning staying on for foreground scans with a non-zero betweenScanPeriod (#555, David G. Young)
Android 8.0 Support
Test release for limiting between scans
This is a test release including changes from PR #558
This fixes "Scanning too frequently" error with non-zero betweenScanPeriod and scanPeriod+betweenScanPeriod < 6000, and full-power scanning staying on for foreground scans with a non-zero betweenScanPeriod.
To use this release, you must download the aar file below, and configure it with your project like so:
- Edit your innermost build.gradle file to add the beta library AAR as a dependency like so:
dependencies {
compile 'android-beacon-library:2.12-3-g4bf2d9f@aar'
}
-
Create a /libs folder next to the build.gradle above, then download and copy the the android-beacon-library-2.12-3-g4bf2d9f.aar file below into this folder.
-
Configure your app's outermost build.gradle File to reference the /libs directory from above in a flatDir declaration:
allprojects {
repositories {
jcenter()
flatDir {
dirs 'libs'
}
}
}