Skip to content

Commit

Permalink
Merge pull request #225 from shankari/scan_for_longer
Browse files Browse the repository at this point in the history
πŸ”§ βŒ› Continue scanning for 5 minutes after the geofence exit
  • Loading branch information
shankari authored Apr 15, 2024
2 parents 7c8b7fa + da76807 commit f0acd9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/android/bluetooth/BluetoothService.java
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public void didRangeBeaconsInRegion(Collection<Beacon> beacons, Region region) {

numScans++;

if (numScans >= 4) {
if (numScans >= 10 * 60) {
// Once we have hit certain number of scans, stop and determine if any beacons are in range
isInRange();
}
Expand Down

0 comments on commit f0acd9d

Please sign in to comment.