Releases: AltBeacon/android-beacon-library
Releases · AltBeacon/android-beacon-library
Bug Fix Release
Bug Fixes:
- Provide access to monitored regions after restoring state
- Don't start or stop scans if bluetooth state is off to prevent crashes on HTC devices
- Protect against SecurityException crashes caused by Samsung Knox
- No Monitoring information after killing an application built with the minify mode
- Start and stop BLE scans from a background thread to prevent blocking the UI
Access restored monitor regions
This is a prerelease intended to test accessing monitored regions after state restoration upon app restart.
HTC Crashes Fix Attempt
Attempts to fix HTC crashes by refusing to start scans if bluetooth is off
Android N debug release
Adds debug lines to troubleshoot BLE scanning on Android N Devices
Android N Scan Updates
Bug Fixes:
- Fixes spurious entry/exit events on Android N caused by OS imposed limits of 5 scans every 30 seconds.
Multiple notifiers, region persistence improvements
New Features:
- Multiple ranging and monitoring notifiers are supported via
BeaconManger#addRangeNotifier(RangeNotifier notifier)
andBeaconManger#addMonitorNotifier(MonitorNotifier notifier)
- App bootstrap regions by be dynamically changed with new
RegionBootstrap#removeRegion(Region region)
andRegionBootstrap#addRegion(Region region)
methods. - Improved region state behavior by adding
BeaconManager#requestStateForRegion(Region)
andBeaconManager#setRegionStatePeristenceEnabled(boolean)
- Added a guaranteed callback to
MonitorNotifier#didDetermineStateForRegion(int state, Region region)
when starting monitoring. At app startup, this returns the previously known persisted state. - Custom distance calculation for Moto X 2nd gen XT1092
- More flexible support for combining multi-frame beacons with
Beacon#getExtraDataFields()
Bug Fixes:
- Eddystone frame detection on Google's Android BeaconTools and Chrome fixed by adding missing service UUID PDU.
- Beacon data fields of over four bytes are now be parsed correctly.
- Region persistence app freezes resolved by limiting persisted regions to 50
- Fixed inability to starting monitoring for a different Region definition with the same uniqueId
Allow 4.x scanning without location permissions
Bug Fixes:
- As of the 2.8 release, scanning would never start on Android 4.x devices unless the application manually added ACCESS_COARSE_LOCATION or ACCESS_FINE_LOCATION permissions to the AndroidManifest.xml. This fix makes it so this is not required for 4.x devices, as was the case prior to 2.8.
Eddystone-EID Support
New Features:
- Adds support for detecting, resolving and broadcasting Eddystone-EID
Retain monitoring configuration on service restart, identify beacon parsers
New Features:
- Retains monitored regions across service restarts, preventing apps from getting multiple region entry callbacks each time the service restarts.
- Add string identifier to BeaconParser which can be referenced by decoded Beacon object, allowing easy determination of beacon type.
- Switch to using ELAPSED_REALTIME clocks, so scanning doesn't stop on devices without a battery-backed RTC
- Add ability to access raw EDDYSTONE_TLM data for sending info to Google services.
- New distance formula for Moto X Pro
Bug Fixes:
- Multiple consumers of the BeaconService will now each get a onBeaconServiceConnected() callback.
- Don't scan for bluetooth devices if permission has not been granted in Android 6. This prevents large number of exceptions in the log.
Retain monitoring configuration on service restart, identify beacon parsers
New Features:
- Retains monitored regions across service restarts, preventing apps from getting multiple region entry callbacks each time the service restarts.
- Add string identifier to BeaconParser which can be referenced by decoded Beacon object, allowing easy determination of beacon type.
- Switch to using ELAPSED_REALTIME clocks, so scanning doesn't stop on devices without a battery-backed RTC
- Add ability to access raw EDDYSTONE_TLM data for sending info to Google services.
- New distance formula for Moto X Pro
Bug Fixes:
- Multiple consumers of the BeaconService will now each get a onBeaconServiceConnected() callback.
- Don't scan for bluetooth devices if permission has not been granted in Android 6. This prevents large number of exceptions in the log.