nextcloud / nextcloud/android

Multi Account: When switching to other Account all downloaded data from previous account is being deleted locally

Open
#11,022 9 comments 0 reactions 0 assignees View on GitHub
bug feature: authentication feature: sync stable-3.22
Dominant language
Kotlin
Stars
5.6k
Forks
2k
Avg merge
2d 18h
Merged PRs (30d)
92

Description

### ⚠️ Before posting ⚠️

- [X] This is a **bug**, not a question or an enhancement.
- [X] I've [searched for similar issues](https://github.com/nextcloud/android/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](https://nextcloud.com/contribute/code-of-conduct/).

### Steps to reproduce

1. Configure two accounts
2. Download some data locally on first account
3. Switch to second account
4. force close app in settings (not sure if that is needed)
5. Open App again
6. Switch back to first user

### Expected behaviour

Locally downloaded data for first user should still be available.

### Actual behaviour

All downloads from first user deleted. Needs manual download again.

### Android version

9

### Device brand and model

Xiaomi Mi A1

### Stock or custom OS?

Stock

### Nextcloud android app version

3.22.3

### Nextcloud server version

24.0.7

### Using a reverse proxy?

Yes

### Android logs

_No response_

### Server error logs

_No response_

### Additional information

Not sure if this behavior is intended or not. For me it feels like a bug. Can provide further logs if necessary :)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.