Replace ACRA with custom crash dialog

* Add uncaught exception handler that saves stacktraces to local crash log files
* Show a Compose crash dialog with stacktrace toggle and share action
* Register crash handler activity in a separate process with dialog theme
* Remove ACRA dependencies and configuration
* Add crash dialog strings and ignore `.hotswan/`
This commit is contained in:
2026-05-23 21:59:12 +03:00
parent 3d153df79c
commit 26a0630393
9 changed files with 162 additions and 26 deletions
-4
View File
@@ -36,13 +36,9 @@ nanokt = "1.3.0"
androidx-navigation = "2.9.8"
serialization = "1.11.0"
acra = "5.13.1"
okhttp = "5.3.2"
[libraries]
acra-email = { module = "ch.acra:acra-mail", version.ref = "acra" }
acra-dialog = { module = "ch.acra:acra-dialog", version.ref = "acra" }
okhttp = { module = "com.squareup.okhttp3:okhttp", version.ref = "okhttp" }
accompanist-permissions = { module = "com.google.accompanist:accompanist-permissions", version.ref = "accompanist" }