Skip to content

Conversation

@alperozturk96
Copy link
Collaborator

@alperozturk96 alperozturk96 commented Jan 12, 2026

  • Tests written, or not not needed

Issue: #16126 (comment)

When a user encounters a sync conflict through manual or automatic uploads, the retryUploads function currently triggers a separate notification for each conflicted file at app launch. This can result in multiple notifications appearing at app launch, which can be overwhelming and annoying.

Changes

This PR ensures that only a single notification is shown for sync conflicts at app launch. Tapping the notification opens the Uploads screen, allowing the user to review and resolve conflicts. This eliminates the repetitive notifications during app launch while keeping the user informed.

Note: User would still see sync conflict message for each file after upload attempt via auto or manual upload.

This will be shown instead of multiple sync conflict notification at app launch

Screenshot_20260112_093332

@alperozturk96 alperozturk96 force-pushed the do-not-show-all-sync-conflict-notifications-during-app-launch branch from 0474133 to 5fdcc2d Compare January 12, 2026 08:58
Copy link
Member

@kra-mo kra-mo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, makes sense :)

@tobiasKaminsky

This comment was marked as resolved.

tobiasKaminsky

This comment was marked as resolved.

@alperozturk96 alperozturk96 force-pushed the do-not-show-all-sync-conflict-notifications-during-app-launch branch from d8a699c to 1941bb8 Compare January 14, 2026 07:55
@alperozturk96 alperozturk96 added this to the Nextcloud App 3.35.0 milestone Jan 14, 2026
Signed-off-by: alperozturk <[email protected]>

# Conflicts:
#	app/src/main/res/values/strings.xml
Signed-off-by: alperozturk96 <[email protected]>
Signed-off-by: alperozturk96 <[email protected]>
@alperozturk96 alperozturk96 force-pushed the do-not-show-all-sync-conflict-notifications-during-app-launch branch from 70b4401 to b0209f7 Compare January 14, 2026 13:02
Copy link
Collaborator

@ZetaTom ZetaTom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general it works well. From a UX perspective, I think that the app should open in the foreground when users tap on Resolve Conflicts. Currently the app opens in the background and the notification disappears.

android.16274.webm

Tested using a Pixel 2 emulator running an AOSP Android 11 image.

@github-actions
Copy link

Codacy

SpotBugs

CategoryBaseNew
Bad practice4343
Correctness7474
Dodgy code257257
Experimental11
Internationalization77
Malicious code vulnerability33
Multithreaded correctness3434
Performance4444
Security1818
Total481481

@github-actions
Copy link

blue-Light-Screenshot test failed, but no output was generated. Maybe a preliminary stage failed.

@github-actions
Copy link

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/16274.apk

qrcode

To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.

@alperozturk96 alperozturk96 merged commit 5c94fda into master Jan 14, 2026
19 of 21 checks passed
@alperozturk96 alperozturk96 deleted the do-not-show-all-sync-conflict-notifications-during-app-launch branch January 14, 2026 14:00
@alperozturk96
Copy link
Collaborator Author

/backport to stable-3.35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants