pachli-android/core/activity
Nik Clayton 54d7888316
feat: Include extra logs in error reports from orange release builds (#414)
Release builds normally strip out all logging to reduce the number of
disk writes and reduce UI jank.

These logs would still be useful in user error reports from orange
builds. To preseve them:

- Implement a simple `RingBuffer`.

- Create `TreeRing`, a `Timber` `Tree` logger that logs to a
`RingBuffer` instance in orange release builds.

- Create `TreeRingCollector`, called when ACRA reports are generated,
which includes the contents of the ring buffer in the report.

- Enable desugaring to allow the use of java.time libraries on older
Android versions.

- Disable ProGuard obfuscation of class names as the obfuscation adds
additional de-obfuscation steps when handling error reports from users.
2024-02-04 15:17:46 +01:00
..
src feat: Include extra logs in error reports from orange release builds (#414) 2024-02-04 15:17:46 +01:00
build.gradle.kts feat: Include extra logs in error reports from orange release builds (#414) 2024-02-04 15:17:46 +01:00
lint-baseline.xml feat: Allow the user to send an error report without a crash (#406) 2024-02-02 15:34:31 +01:00