owncloud / android

:phone: The ownCloud Android App
GNU General Public License v2.0
3.79k stars 3.05k forks source link

[FEATURE REQUEST] Log file in debug mode, accesible out of ScSt #4146

Open jesmrec opened 11 months ago

jesmrec commented 11 months ago

Problem/Context:

When the app crashes in the beginning, it's not posible to open Settings to reach logs and check what's going on.

Suggested solution:

Some way to store the logs file outside of the Scoped Storage, so it's accesible without using Android Studio. Only available in DEBUG variant. Current location:

Screenshot 2023-08-30 at 18 44 05

Is this feasible?? (needs research)

As idea, a new brandable option to create file in a different location (f.ex. Downloads).

TASKS

michaelstingl commented 11 months ago

Some way to store the logs file outside of the Scoped Storage, so it's accesible without using Android Studio. Only available in DEBUG variant. Current location:

Screenshot 2023-08-30 at 18 44 05

Is this feasible?? (needs research)

Regular device, not connected to Android Studio, but a special debug APK we can provide when requested?

jesmrec commented 11 months ago

Regular device, not connected to Android Studio, but a special debug APK we can provide when requested?

oB provides debug builds. In case this feature is feasible, it will be available for every debug build. But, needs research first.

jesmrec commented 10 months ago

Follow up: https://github.com/owncloud/android/issues/4155

jesmrec commented 9 months ago

Proposal: make logs folder visible in doc. provider through a branding variable. Will work on it

if oCIS: logs folder in space level if oC10: in root