to view a pdf without downloading one needs to 'edit' a document
- 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
Try to open a pdf (the same holds to for office documents) with Collabora/integrated viewer without downloading to the device and opening via an external app.
### Expected behaviour
Simply tapping on the document should lead to an option to choose an integrated viewer, not only locally installed apps like Adobe Acrobat / another pdf viewer.
The context menu should contain an entry for _viewing_ (vs. editing) the document.
### Actual behaviour
When you tap the document, the local "open with" dialog allows to choose some pdf viewer apps.
There is no option to choose to open withing the Nextcloud app.
The context menu allows to 'edit' (in the screenshot "Bearbeiten") a document which contains the desired functionality to _open_ the document (disregarding whether to just view or edit).

### Android version
9
### Device brand and model
G8441
### Stock or custom OS?
Stock
### Nextcloud android app version
3.23.1
### Nextcloud server version
24.0.8
### Using a reverse proxy?
I don't know
### Android logs
_No response_
### Server error logs
_No response_
### Additional information
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.