Skip to content

Commit

Permalink
Revert scan settings to library defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgyoung committed Oct 5, 2023
1 parent 74d0559 commit 2aa42a4
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 4 deletions.
17 changes: 17 additions & 0 deletions .idea/deploymentTargetDropDown.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class BeaconReferenceApplication: Application() {
// for that beacon's advertisement with a line like below.
//
// If you don't care about AltBeacon, you can clear it from the defaults:
beaconManager.getBeaconParsers().clear()
//beaconManager.getBeaconParsers().clear()

// Uncomment if you want to block the library from updating its distance model database
//BeaconManager.setDistanceModelUpdateUrl("")
Expand Down Expand Up @@ -85,9 +85,9 @@ class BeaconReferenceApplication: Application() {
Log.d(TAG, "Not setting up foreground service scanning until location permission granted by user")
return
}
beaconManager.setEnableScheduledScanJobs(false);
beaconManager.setBackgroundBetweenScanPeriod(0);
beaconManager.setBackgroundScanPeriod(1100);
//beaconManager.setEnableScheduledScanJobs(false);
//beaconManager.setBackgroundBetweenScanPeriod(0);
//beaconManager.setBackgroundScanPeriod(1100);

// Ranging callbacks will drop out if no beacons are detected
// Monitoring callbacks will be delayed by up to 25 minutes on region exit
Expand Down

0 comments on commit 2aa42a4

Please sign in to comment.