pachli-android/app
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
gitTools.gradle ci: Upload orangeRelease to Google Play (internal track) (#134) 2023-09-28 13:50:02 +02:00
lint-baseline.xml feat: Include extra logs in error reports from orange release builds (#414) 2024-02-04 15:17:46 +01:00
lint.xml build: Disable lint warnings about old versions of AGP (#379) 2024-01-23 23:18:27 +01:00
proguard-rules.pro feat: Include extra logs in error reports from orange release builds (#414) 2024-02-04 15:17:46 +01:00