Android API 26 fix in my APP - convert background service (GCM) to JobScheduler
$30-250 USD
Betales ved levering
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.
Prosjekt-ID: #17861271
Om prosjektet
2 frilansere byr i gjennomsnitt $148 for denne jobben
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