android-priority-jobqueue icon indicating copy to clipboard operation
android-priority-jobqueue copied to clipboard

Android Oreo 8.0 Support ?

Open GulajavaMinistudio opened this issue 7 years ago • 4 comments

Is this library supporting new behavior changes about Background Execution Limits in Android 8.0 Oreo ? And can be integrated with JobScheduler well in Android 8.0 ?

GulajavaMinistudio avatar Sep 24 '17 08:09 GulajavaMinistudio

You can integrate with JobScheduler there’s a wiki that shows you the simple steps: JobScheduler and GcmNetworkManager Wiki.

From the Android Oreo Developer docs:

In most cases, apps can work around these limitations by using JobScheduler jobs. This approach lets an app arrange to perform work when the app isn't actively running, but still gives the system the leeway to schedule these jobs in a way that doesn't affect the user experience.

So if you use JobScheduler your background Services/Jobs will be whitelisted, allowing your background jobs to run. Link to the dev docs: Android Developer docs on the topic

This library is amazing, honestly I don’t know what I’d do without it. But it hasn’t been updated in a LONG time. And a lot has changed in the world of Android... not just on the Android OS side, but also on the Gradle, environment, and tools side of things.

I really hope someone, anyone, will update this library to support the new Android Gradle Plugin and update to at least API 26.

Any takers? 😟

JimVanG avatar Nov 15 '17 05:11 JimVanG

It should be part of the support library in my opinion. On Wed, 15 Nov 2017 at 1:53 pm, James [email protected] wrote:

You can integrate with JobScheduler there’s a wiki that shows you the simple steps: JobScheduler and GcmNetworkManager Wiki https://github.com/yigit/android-priority-jobqueue/wiki/Integration-with-JobScheduler-and-GcmNetworkManager .

From the Android Oreo Developer docs:

In most cases, apps can work around these limitations by using JobScheduler jobs. This approach lets an app arrange to perform work when the app isn't actively running, but still gives the system the leeway to schedule these jobs in a way that doesn't affect the user experience.

So if you use JobScheduler your background Services/Jobs will be whitelisted, allowing your background jobs to run. Link to the dev docs: Android Developer docs on the topic https://developer.android.com/about/versions/oreo/background.html#overview

This library is amazing, honestly I don’t know what I’d do without it. But it hasn’t been updated in a LONG time. And a lot has changed in the world of Android... not just on the Android OS side, but also on the Gradle, environment, and tools side of things.

I really hope someone, anyone, will update this library to support the new Android Gradle Plugin and update to at least API 26.

Any takers? 😟

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/yigit/android-priority-jobqueue/issues/401#issuecomment-344493434, or mute the thread https://github.com/notifications/unsubscribe-auth/ABFvuSJn3mOTOyf6sH4PFzKczEzOQpNsks5s2nxsgaJpZM4Ph0I6 .

gbhall avatar Nov 15 '17 07:11 gbhall

I noticed this library only has targetSdkVersion 25. With Google's Accouncement mentioning 3rd party libraries to target 26 as well are there any plans to update?

blinkmacalahan avatar Jul 05 '18 17:07 blinkmacalahan

@gbhall i thought that Android Team released the Work Manager to be de default "Job Queue" solution. Because of this, @yigit had stopped the work in this lib.

biliboss avatar Oct 04 '18 17:10 biliboss