nextcloud / nextcloud/android

Make logs easily accessible to users

Open
#14,961 3 comments 8 reactions 0 assignees View on GitHub
0. Needs triage enhancement
Dominant language
Kotlin
Stars
5.6k
Forks
2k
Avg merge
2d 18h
Merged PRs (30d)
92

Description

### How to use GitHub

* Please use the 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to show that you are interested into the same feature.
* 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.

**Is your feature request related to a problem? Please describe.**
Reporting problems/issues is most efficient, if logs are included. Hence it should be easy for users to supply logs. While this works ok for the server, accessing the logs for the android client is - not easy - to stay diplomatic.

**Describe the solution you'd like**
The ideal solution would be that the logs are accessible from within all android packages, i.e. the normal/stable play store as well as f-droid version. If a user has a problem with the play store app, the easiest way to reproduce and get some logs of the issue is - the installed play store app.

Having to install another app, is a hurdle and might not trigger the issue, i.e. is not represenatative.
Having to install another app from another app store, is too much for most users already. Furthermore, the f-droid version is not equal to the play store version and may thus not be representative, i.e. not show the same issue.
Having logs only available for RCs makes it even harder, i.e. in order to report an issue with logs I do not only have to switch the app but also wait for an RC to appear.

IMHO it should be as easy as possible. Go to the settings, tap on "download/show logs", that's it.

Yet if there needs to be some hurdle to enable logs, then it should be something easy. Andy suggested tapping five times on the version number or something similar. If it is about a performance impact, include a switch to turn logging on or off and warn the user that logging will cause a performance decrease.

For the future maybe something like "start recording logs for x minutes or until the app crashes" would be something nice.

**Describe alternatives you've considered**
ADB is nothing for the normal users.
Rooting your device is nothing for normal users.

**Additional context**
Having logs available from within the normal play store user app would increase the likelihood of getting more logs into issue reports but also the help forum topics. This would increase the quality of the reports and help analysing and solving issues quicker.

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.