I use ScheduledScanJob for background scan. Now the default scan interval is 10 minutes in Android 8.0+, is there a way to change this interval?
Using the Android Beacon Library, you can configure this interval to whatever value you like using beaconManager.setBackgroundScanPeriod(20*60*1000)
.
The aforementioned example sets the milliseconds between scans to be 20 minutes. You may increase or decrease this value from the default of 10 minutes. Be aware however, that Android limits the frequency of scheduled jobs to be at most every 15 minutes when an app is on the background. So any setting smaller than 15 minutes will automatically be converted by the operating system to run every 15 minutes.