Android Oreo killing background services and clears pending alarms, scheduled jobs after entering doze mode
You would not be able to run background services long running in Oreo as there are behaviour changes, now Oreo to optimise system memory, battery etc, it kills background service, to solve your issue you should use foreground service. Have a look at Background execution limits https://developer.android.com/about/versions/oreo/android-8.0-changes A suggestion from me, if you can use … Read more