Skip to content

Releases: AltBeacon/android-beacon-library

Bluetooth Medic and Android 8.1 Screen Off Scanning

05 Mar 22:19
Compare
Choose a tag to compare

Full Changelog

Enhancements:

  • Add BluetoothMedic to fix crashing bluetooth stacks. (#644, David G. Young)
  • Allow configuring job ids (#645, David G. Young)

Bug Fixes:

  • Allow scans with screen off on Android 8.1 (#637, David G. Young)

Test build for Android 8.1 scanning with screen off

04 Jan 16:24
Compare
Choose a tag to compare

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

16 Dec 14:00
Compare
Choose a tag to compare

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

27 Oct 19:59
Compare
Choose a tag to compare

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

14 Oct 13:32
Compare
Choose a tag to compare

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

14 Sep 12:08
Compare
Choose a tag to compare
Pre-release

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

31 Aug 04:33
Compare
Choose a tag to compare

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

17 Aug 13:29
Compare
Choose a tag to compare

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

07 Aug 20:12
Compare
Choose a tag to compare

Enhancements:

  • Add Android O support with ScanJob using JobScheduler to do scans instead of BeaconService,
    set as default for Android O. (#484, David G. Young)

Bug Fixes:

  • Correct accessor method for Beacon#getRunningAverageRssi()
    (#536, Pietro De Caro)

Test release for limiting between scans

10 Aug 13:53
Compare
Choose a tag to compare
Pre-release

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'
              }
          }
      }