Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Milestone v131 — Migrating to WorkManager, OSM prompt option, file upload broadcast, notification for errors, SPD_KPH param #1126

Merged
merged 75 commits into from
Jun 2, 2024

Conversation

mendhak
Copy link
Owner

@mendhak mendhak commented Mar 16, 2024

Test APK

https://github.com/mendhak/gpslogger/releases/tag/v131-rc2

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

#1139 A new %SPD_KPH custom URL parameter to help with logging to OwnTracks.

#1138 #1053 Show an error notification when permissions have been revoked but the user is trying to run the app.

image

image

gpslogger/build.gradle Outdated Show resolved Hide resolved
@mendhak mendhak added this to the v131 milestone Apr 1, 2024
@mendhak mendhak marked this pull request as ready for review April 1, 2024 19:53
@mendhak mendhak changed the title Migrating android-priority-jobqueue to Android WorkManager Milestone v131 — Migrating android-priority-jobqueue to Android WorkManager Apr 1, 2024
flyingOwl and others added 5 commits May 26, 2024 15:19
Modify speed value so that a conversion to km/h results in an integer
value
… service to only after the permission check is complete.

In the stop service, only stop the service if notifications are enabled, due to a weird scenario where the service might start and immediately end due to lack of notifications, resulting in an app crash.
How did we end up like this.
Issue #1138
Issue #1053
…nyway, except for NMEA, which stops logging. This is because NMEA has a high frequency of writes.

Issue #1138 #1053
@mendhak mendhak changed the title Milestone v131 — Migrating android-priority-jobqueue to Android WorkManager Milestone v131 — Migrating to WorkManager, OSM prompt option, file upload broadcast, notification for errors, SPD_KPH param May 27, 2024
@mendhak mendhak merged commit 3c5d21f into master Jun 2, 2024
2 checks passed
@mendhak
Copy link
Owner Author

mendhak commented Jun 2, 2024

Merged, now I wait a bit so weblate gets the latest in case some translations make it in time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants