Skip to content Skip to sidebar Skip to footer

Why I See: Unsatisfied Constraints: Connectivity In Jobscheduler Debug Info

I set for the job: val job = JobInfo.Builder(2, ComponentName(context, JobRunner::class.java)).apply { setRequiredNetworkType(JobInfo.NETWORK_TYPE_UNMETERED)

Solution 1:

It is important to note that your application is in the RARE standy bucket:

Standby bucket:RARE

This means that, even if the device has connectivity, your jobs are going to have access to the network only once a day.

This is documented in the Power Manager restriction guide with the note:

If network access is restricted, the app is granted a window of 10 minutes to use the network at the specified interval.

This is probably an application that spends a lot of time in the background with little or no interaction from the user. A possible solution is to increase foreground time adding some functionality that drives the user to open the app.

Post a Comment for "Why I See: Unsatisfied Constraints: Connectivity In Jobscheduler Debug Info"