Estimote - Proximity SDK - Too many entry and exit calls


#1

I am using the proximity sdk 0.1.0-alpha.6.

There are too many entry and exit calls. I have opened an issue on the github repo, but there is no update from the past 10 days. Here is the link: https://github.com/Estimote/Android-Proximity-SDK/issues/10

In a gist:

Here are the details of testing device:
Android OS Version: 8.1.0
Android Device Model: Nexus 6P
Yes - Estimote Monitoring enabled for beacons

I tried withBalancedPowerMode(), withLowLatencyPowerMode() andwithLowPowerMode(), but all resulted in the same.
Also, without even moving the beacon and the device, the withOnEnterAction() and withOnExitAction() are getting called repeatedly. I have one beacon within the proximity.

Logs:

01-01 16:45:53.129 1768-1768/com.abc.abcapp D/xyz: Entered Proximity for Beacon: india_beetroot
01-01 16:45:53.130 1768-1768/com.abc.abcapp D/xyz: No beacons detected before this.... Adding event to Firebase
01-01 16:45:53.130 1768-1768/com.abc.abcapp D/xyz: Adding Event to Firebase...
01-01 16:45:53.154 1768-1768/com.abc.abcapp D/xyz: Beacons in Range: [india_beetroot]
01-01 16:45:53.546 1768-1768/com.abc.abcapp D/xyz: Check In Date: 2018-01-01 16:45:53.541 +0530
01-01 16:46:03.030 1768-1768/com.abc.abcapp D/xyz: Exited Proximity for Beacon: india_beetroot
01-01 16:46:03.031 1768-1768/com.abc.abcapp D/xyz: Beacons in Range: []
01-01 16:46:03.127 1768-1768/com.abc.abcapp D/xyz: Check Out Date: 2018-01-01 16:46:03.125 +0530

01-01 16:46:08.028 1768-1768/com.abc.abcapp D/xyz: Entered Proximity for Beacon: india_beetroot
01-01 16:46:08.028 1768-1768/com.abc.abcapp D/xyz: No beacons detected before this.... Adding event to Firebase
01-01 16:46:08.059 1768-1768/com.abc.abcapp D/xyz: Beacons in Range: [india_beetroot]
01-01 16:46:08.103 1768-1768/com.abc.abcapp D/xyz: Check In Date: 2018-01-01 16:46:08.101 +0530
01-01 16:46:18.183 1768-1768/com.abc.abcapp D/xyz: Exited Proximity for Beacon: india_beetroot
01-01 16:46:18.184 1768-1768/com.abc.abcapp D/xyz: Beacons in Range: []
01-01 16:46:18.254 1768-1768/com.abc.abcapp D/xyz: Check Out Date: 2018-01-01 16:46:18.248 +0530

01-01 16:46:22.789 1768-1768/com.abc.abcapp D/xyz: Entered Proximity for Beacon: india_beetroot
01-01 16:46:22.789 1768-1768/com.abc.abcapp D/xyz: No beacons detected before this.... Adding event to Firebase
01-01 16:46:22.819 1768-1768/com.abc.abcapp D/xyz: Beacons in Range: [india_beetroot]
01-01 16:46:22.868 1768-1768/com.abc.abcapp D/xyz: Check In Date: 2018-01-01 16:46:22.865 +0530
01-01 16:46:22.972 1768-1768/com.abc.abcapp D/xyz: Exited Proximity for Beacon: india_beetroot
01-01 16:46:22.972 1768-1768/com.abc.abcapp D/xyz: Beacons in Range: []
01-01 16:46:23.025 1768-1768/com.abc.abcapp D/xyz: Check Out Date: 2018-01-01 16:46:23.022 +0530