nextcloud / nextcloud/ios

iOS app Activity does not respect the server side retention rule

Open
#4,061 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Swift
Stars
2.5k
Forks
1k
Avg merge
2d 18h
Merged PRs (30d)
13

Description

How to use GitHub
  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce
  1. Set a retention period on the server side
  2. Click Activity from the bottom tool bar in the iOS app
  3. You will find that the mobile app does not automatically delete older activities (keep activities forever), unless manually app reset
Expected behaviour

The Activity on the iOS app should automatically delete older activities based on retention period set by the server

Actual behaviour

the mobile app does not automatically delete older activities (keep activities forever), unless manually app reset

Logs
If applicable, you can post the iOS app or server logs (removing any sensitive information).
Reasoning or why should it be changed/implemented?

For privacy reasons, the iOS app Activity should respect the server side retention rule.

Environment data

iOS version: iOS 26
Nextcloud iOS app version: 33.0.3.7

Server operating system: Debian

Web server: Apache

Database: MySQL

PHP version: Using the latest docker (not all-in-one)

Nextcloud version: Using the latest docker (not all-in-one)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the Activity screen reached from the iOS app's bottom toolbar and reproduce the issue after setting a server-side retention period. Trace how Activity data is received and removed locally, then verify that activities older than the server rule are no longer retained without an app reset. The issue names no files or tests, so locating the relevant code and adding coverage will require exploration.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.