nextcloud / nextcloud/android

Double notification on second download attempt

Open
#12,055 0 comments 1 reaction 0 assignees View on GitHub
bug hotspot: uploads tab and transfer notifications stable-3.27
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

Download file
Delete downloaded local file
Don't close the app
Try to download same file again

or

Download file
Don't close the app
Download some other file

### Expected behaviour

Download notification independent of the number of downloads should appear as a single notification

### Actual behaviour

The first time a file starts downloading, a single notification appears. If you try to download another or the same file again without closing the app, 2 notifications appear.

Behaviour:

https://github.com/nextcloud/android/assets/67455295/433a3eda-92a6-4f6c-8dd6-3a2a315f4fbd

### Android version

14

### Device brand and model

Emulator

### Stock or custom OS?

Stock

### Nextcloud android app version

3.27.0 Alpha 1

### Nextcloud server version

?

### Using a reverse proxy?

No

### Android logs

_No response_

### Server error logs

_No response_

### Additional information

_No response_

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.