Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.21.0-beta5 should respect the background periods properly #1221

Open
elican-doenyas opened this issue Feb 12, 2025 · 0 comments
Open

2.21.0-beta5 should respect the background periods properly #1221

elican-doenyas opened this issue Feb 12, 2025 · 0 comments

Comments

@elican-doenyas
Copy link

Currently, when the library user configures scan periods for background scanning, the library discards the backgroundBetweenScanPeriod, and uses the backgroundScanPeriod for that instead. This is present in 2 places in BeaconManager class, both in the applySettingsChange method.

  1. Line 258

Image

  1. Line 275

Image

Also, while I am not sure of this, the default value for backgroundBetweenScanPeriod in Settings.kt file, ScanPeriods data class should not be 0.

@davidgyoung thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant