Hi! I have developed my app for Android Nougath (Api 25) about some time but now i have to update the targetSdk to Android Oreo (Api 26).
In my application i have a service that run in background and start a beacon scan with this parameters "beaconManager.setBackgroundScanPeriod(5,8); "
and set a MonitoringListener.
So I want that continuously scan for beacons (for 8 hours).
With the update to Oreo this don’t happen: when i start the app, the beacon are recognized but when i close the app, after a while, the service in background don’t work anymore.
What can I do ? Who is the problem???
Is android Oreo that kill the service or kill BeaconManager ?