mendhak / gpslogger

:satellite: Lightweight GPS Logging Application For Android.
https://gpslogger.app
Other
1.99k stars 609 forks source link

[Feature request] Send notification in different channel in case of error #1053

Closed neilguertin closed 6 months ago

neilguertin commented 1 year ago

If a session is in progress but logging fails for some reason, the app should send a notification to let the user know.

I generally leave the app running 24/7 and have hidden the constant notification from the device's notification settings. Several times now the logging has failed and I only noticed several days later because I happened to open the app.

The logging has failed for several reasons, for example when logging to a local file and storage fills up or permissions get changed. Basically any time red warning text gets printed to log view.

It might be useful to have notifications for warnings too (timeout reached, etc) but they should be in a separate channel from errors.

mendhak commented 6 months ago

I've done some work on this yesterday.
Discussion and test APK is here: #1138
I'll close this thread and move to that one.

mendhak commented 4 months ago

v131 is in the releases and FDroid