react-native-ibeacon
react-native-ibeacon copied to clipboard
Queation/Bug: getting “Sending `beaconsDidRange` with no listeners registered.”
I followed the example as is, and everything worked great.
But suddenly, I stopped getting the Beacons detection event, while getting the warning:
“Sending beaconsDidRange with no listeners registered.”
Any idea what might cause this? I’ve tried everything...
I do have the code part:
var subscription = DeviceEventEmitter.addListener(
'beaconsDidRange',
(data) => {
console.log(data);
}
);