react-native-beacons-manager
react-native-beacons-manager copied to clipboard
[QUESTION] iOS - How to get Major and Minor key on RegionDidEnter/RegionDidExit?
Version
1.0.1
Platform
iOS
OS version
iOS 10| android 7.0...
Steps to reproduce
I can just get UUID when firing regionDidEnter/RegionDidExit.
Expected behavior
Actual behavior
You need to enter those in region along with uuid to get that in regionDidenter and regoinDIdExit events
this.regionDidEnterEvent = Beacons.BeaconsEventEmitter.addListener(
"regionDidEnter",
data => {
console.log("monitoring - regionDidEnter data: ", data);
}
);
this is my code, but I can only see uuid when logging the data @divye11
Could you share your region definition too?
Region: {
identifier: 'HiBeacon',
uuid: '00000000-017C-1001-B000-001C4DB7979B',
}
I can get the major and minor keys when ranging but not monitoring, what I want is to get the major and minor keys when regionDidEnter fired.
Having the same problem here. Only the uuid is returned on monitoring The monitoring was started with a region with uuid, major and minor
Having the same problem, anyone fix that ?
+1