Skip to content

Multiple notifiers, region persistence improvements

Compare
Choose a tag to compare
@davidgyoung davidgyoung released this 25 Jul 20:09
· 753 commits to master since this release

New Features:

  • Multiple ranging and monitoring notifiers are supported via BeaconManger#addRangeNotifier(RangeNotifier notifier) and BeaconManger#addMonitorNotifier(MonitorNotifier notifier)
  • App bootstrap regions by be dynamically changed with newRegionBootstrap#removeRegion(Region region) and RegionBootstrap#addRegion(Region region) methods.
  • Improved region state behavior by adding BeaconManager#requestStateForRegion(Region) and BeaconManager#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