Open luisestudioalfa opened 4 years ago
This plugin use two different libraries, AltBeacon library for Android (https://github.com/AltBeacon/android-beacon-library/issues/708) and CoreLocation for Apple.
For example AltBecon library, collect various beacon signals and every second sends an event with the list of beacons, the mean of the collected RSSI and a distance estimation.
All about the distance calculation: the library averages signal measurements over 20 seconds, throws out the top 10% and bottom 10% of measurements, and averages the rest. distance-calculations.html
Also the distance is not very accurate: distance-triggering.html
There are also issue when the device is in Background: detection_times.html
This is not an issue but a doubt...
i have tried the plugin and i can connect to several beacons (I add them to an array to show then in a list).
I have configured the beacons with an advertising interval of 100ms. And the list shows the beacons, uuid, minor, mayor, proximity, and so on...
But the refresh of the distance and proximity updates over a long time, i want to use this plugin so the users, when are in an inmediate proximity shows a local push notification.
But by the time that the beacons replies with and inmediate proximity, the walking user can be 10 meters away from the beacon...
Can this be done? I have tried to increase the advertising interval, but even it i increase it to several seconds ( 1,2 or 3), the proximity and distance does not show the right one ( i have to stop for several seconds to get the right one)
Thank you in advance.