Version
1.0.7
Platform
iOS
OS version
iOS 10
Steps to reproduce
- Monitor region enter/exiting for a beacon
- Toggle beacon activation
- Note that no events get fired other than
didRange
Expected behavior
regionDidEnter and regionDidExit events should fire when moving in and out of range of a beacon
Actual behavior
regionDidEnter and regionDidExit events do not fire at all
The code I'm using is pulled straight from the README with the exception of adding event listeners for regionDidEnter and regionDidExit:
DeviceEventEmitter.addListener('regionDidEnter', data => {
console.info('REGION ENTER!', data)
})
DeviceEventEmitter.addListener('regionDidExit', data => {
console.info('REGION EXIT!', data)
})
and changing my region definition:
const region = {
identifier: 'Estimotes',
major: 1,
minor: 1,
uuid: '[MY UUID]'
}
No matter what I do, I cannot get either of these events to fire. The only thing I see is that XCode shows the following NSLog output: createBeaconRegion with: identifier - uuid - major - minor
Version
1.0.7
Platform
iOS
OS version
iOS 10
Steps to reproduce
didRangeExpected behavior
regionDidEnterandregionDidExitevents should fire when moving in and out of range of a beaconActual behavior
regionDidEnterandregionDidExitevents do not fire at allThe code I'm using is pulled straight from the README with the exception of adding event listeners for
regionDidEnterandregionDidExit:and changing my region definition:
No matter what I do, I cannot get either of these events to fire. The only thing I see is that XCode shows the following NSLog output:
createBeaconRegion with: identifier - uuid - major - minor