Android API 26 fix in my APP - convert background service (GCM) to JobScheduler

Probíhá Zveřejněno před 5 lety K zaplacení v momentě doručení
Probíhá K zaplacení v momentě doručení

I have one App based on open source Android App Flym: [login to view URL], v1.9.7

It is crashing in Android 8.0 (API level 26) due to Android new background limits: (explanation here: [login to view URL] )

The thrown error is a IllegalStateException when I call the RSS feed service (file [login to view URL]) in [login to view URL](). The error is also described in stackOverflow here: [login to view URL]

The suggested fix is to move on, from background service, to JobScheduler or JobIntentService. Some say it would be possible just to call startForegroundService instead but I understand it is not correct.

* * * THE TASK * * *

Migrate the AutoRefreshService to a JobScheduler, then the IllegalStateException is not thrown in Android 8.0 anymore.

*Extra info

- The original source code project migrated to Kotlin in its version 2.0;

- I can give access to additional files through request, but the two most important are attached.

* * * EXTRA TASK * * *
I just figured out that, because of moving from API level 25 to 28, the dependencies were broken. So please update your prices to include the gradle dependency fix.

Android Java Mobile App Development Softwarová architektura

Identifikační číslo projektu: #17861271

O projektu

2 nabídek Projekt na dálku Aktivní před 5 lety

2 Freelnceři na tento projekt zveřejňují nabídky v průměru $148

hyperov

hello, my bid includes the dependency fix, i have 4 years exp in android and specially exp in job scheduler or best practice is to use (work manager) i can also upgrade support library dependency to androidx

$130 USD za 3 dní
(6 Recenzí)
3.5