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