android
android copied to clipboard
Notification "Starting offline operations" pushed to smartwatch or KDE Connect
⚠️ Before posting ⚠️
- [x] This is a bug, not a question or an enhancement.
- [x] I've searched for similar issues and didn't find a duplicate.
- [x] I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
- [x] I agree to follow Nextcloud's Code of Conduct.
Steps to reproduce
- Have a Linux PC with KDE and use the KDE Connect app on an Android device, which pushes all notifications from the phone to the PC, where they pop up as notifications in the KDE system tray
- Have Nexcloud installed on the android device and connected to a server. You don't need to have files marked for offline use.
- randomly, sometimes every 5 minutes, sometimes not for an hour or more, the KDE desktop will show a notification coming from the phone saying "Starting offline operations".
- Another user reported the same issue, where this notification gets pushed to his smartwatch. There is a forum thread about this issue here: https://help.nextcloud.com/t/android-app-constantly-notifies-starting-offline-operations
Important: this notification does not appear on the android device. It seems to be silenced there, but is nonetheless caught by KDE Connect. There is no way to deactivate this notification on the phone.
The issue seems to be present in the stable version of nextcloud and I experience it since several months using the dev version from f-droid.
Expected behaviour
As this notification is pointless, it should not pop up constantly on the KDE desktop or on smatwatches.
Actual behaviour
Notification "Starting offline operations" pops up at varying intervals on the KDE desktop (or on the smartwatch)
Android version
14
Device brand and model
Nokia XR21
Stock or custom OS?
Stock
Nextcloud android app version
20250321
Nextcloud server version
30.0.6
Using a reverse proxy?
I don't know
Android logs
Maybe this is helpful, it's a screenhot (no way to do copy-paste) from the "Offline operations" screen found in the dev version of the app under "technical test mode" in the settings:
Server error logs
Additional information
I found the place in code where I think this notification is build. It's in OfflineOperationsNotificationManager.kt:
https://github.com/nextcloud/android/blob/9cf510d58adcb5bd877ee130992bcfda27e928a6/app/src/main/java/com/nextcloud/client/jobs/offlineOperations/OfflineOperationsNotificationManager.kt
@Suppress("MagicNumber")
fun start() {
notificationBuilder.run {
setContentTitle(context.getString(R.string.offline_operations_worker_notification_start_text))
setProgress(100, 0, false)
}
Please fix, super annoying.
I experienced this too, it is incredibly annoying to see it constantly via KdeConnect.
Adding my voice to this irritating notification.
Phone does not display it, but it is picked up by KDE Connect and relayed to my desktop.
The notification is also appearing on my OnePlus Watch 3:
In KDE Connect on your phone, you can disable the notifications from Nextcloud. Go to the three dot menu on the top right ==> Module settings ==> Notification Filter (or similar, freely translated from German) and disable Nextcloud in the app list
This doesn't appear on the phone or on KDE connect for me (I may have disabled it) however it spams the android notification history. Sometimes multiple times per minute. My notification history has pages and pages almost exclusively just this message repeated.
Please fix this! THis is so much annoying that I want to build a patched version!! On my Phone this message is even coming when I diasbled all Notifications of the App!! every time randomly a short vibration and for a second the popup.. Enought to stop youtube kids a hundred times when my kid watches its 5 minutes.. It drives me crazy!
@AndyScherzinger deleted the app now since my phone is vibrating all the time I activate the screen, even if the app has no permissions to send notifications.. it disturbes everywhere when using the phone.. think this is related to the auto upload.
Just wanted to bump this, as its still happening for me.
Same problem with Talkback this notification is read by the voice during usage of other app. It's very annoying.
Can you fix this ?
looping in @tobiasKaminsky and @alperozturk96
Hello
With this PR: https://github.com/nextcloud/android/pull/15451, you can disable offline operation notifications or cancel offline operation.
We are also working on the fix.
Fix will be included in the next release: https://github.com/nextcloud/android/pull/15487