googlearchive / firebase-jobdispatcher-android

DEPRECATED please see the README.md below for details.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Device Idle state constraint ignored

stevesamknows opened this issue · comments

On modern device (Pixel 2 on Oreo) would expect concept of "idle" to be valid. But
despite requesting idle constraint
setConstraints(Constraint.DEVICE_IDLE, Constraint.ON_UNMETERED_NETWORK)
the background job is running while the app is active in the foreground; expectation would be the background job wouldn't be scheduled until the device was completely idle.

In April 2019 we announced that Firebase Job Dispatcher would be deprecated today, April 7th 2020. For this reason we are going to close all open issues and archive the repository. We will also stop supporting FJD for new app installations (such as those targeting sdk versions greater than Android Q). Existing apps that rely on FJD should continue to function as usual.

While we will no longer work on FJD, we encourage you to migrate to Work Manager which is a superior tool and fully supported by the Android team.

Thank you for taking the time to try the library and provide this feedback. We sincerely appreciate your effort and we apologize for not addressing it in time.