"Upload failed" notification even though there was no error
- 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. use Android 9
2. upload anything to Nextcloud through Android app
3. an "upload failed" notification will appear (but the file was successfully uploaded)
Happens for every upload. Upload is always successful.
````
Upload failed
Could not complete operation. Server unavailable.
`````
It works with later Android versions (tested with Android 14).
### Expected behaviour
No error notification if there was no error.
### Actual behaviour
Error is always shown.
### Android version
9
### Device brand and model
Samsung S8
### Stock or custom OS?
Stock
### Nextcloud android app version
3.28.2
### Nextcloud server version
28.0.3.2
### Using a reverse proxy?
No
### Android logs
_No response_
### Server error logs
_No response_
### Additional information
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.