My android app shows an alert when a user enters a region, and another alert when the user exits a region. There are three separate regions with one beacon each. The enter events are triggered very fast when you come into range of a beacon. However, the exit events seem to have a delay of at least 15 seconds.
I understand that there is a default delay to protect from false positive exit events, so I used beaconManager.setBackgroundScanPeriod(15000,1000), and beaconManager.setRegionExitExpiration(1000), (note: I am passing java Longs for the time as required) however there is still a delay of about 15 seconds after exiting a region before the alert is displayed.
Am I doing something wrong, or is it not possible to trigger the onExitedRegion function any faster?