gpslogger icon indicating copy to clipboard operation
gpslogger copied to clipboard

Milestone v131 — Migrating android-priority-jobqueue to Android WorkManager

Open mendhak opened this issue 3 months ago • 0 comments

Housekeeping and Maintenance

The JobQueue library is quite good, but the library is abandoned, and the same developer has done some work on Android WorkManager.

Switching to WorkManager.

One limitation, you can't pass information in the constructor to the worker (like you did with the JobQueue), instead it has to be passed via a Data, and maximum data size is 10kb.

That size limit means instead of passing an array of locations, I have to pass the file name and get the worker to read from the file and build the locations itself.

I've also updated the build dependencies, some libraries too, seen in build.gradle and AndroidManifest.xml.

Issues

#1129 Clarifying that the auto send also sends when the file name changes.

#1131 OpenStreetMap option to prompt for details when logging starts.

image

#1083 Send a broadcast when a file is uploaded. This should allow users to delete the file if they'd like.

image

image

mendhak avatar Mar 16 '24 16:03 mendhak