I have a question about the usage of this library: https://ionicframework.com/docs/native/ibeacon/
I’ve been making an Ionic app and testing it on both a Samsung Galaxy Tab 4 and and Samsung Galaxy S6, and the time it takes for a beacon to be found takes very long…
I’ve been using this code as described in the documentation of ibeacon native and adjusted it to the application:
delegate.didRangeBeaconsInRegion()
.subscribe(
(data) => {
data.beacons.forEach(emittedBeacon => {
if ( (emittedBeacon.proximity == 'ProximityNear' || emittedBeacon.proximity == 'ProximityImmediate' ) && emittedBeacon.accuracy < 1.5) {
.....
}
}
error => console.error();
);
I’m using Ionic3
Thx