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:
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools">
|
||||
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
|
||||
@@ -37,6 +37,12 @@
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
<activity
|
||||
android:name="dev.meloda.fast.presentation.CrashActivity"
|
||||
android:exported="false"
|
||||
android:process=":error_handler"
|
||||
android:theme="@style/CrashDialogTheme" />
|
||||
|
||||
<service
|
||||
android:name="dev.meloda.fast.service.longpolling.LongPollingService"
|
||||
android:enabled="true"
|
||||
|
||||
Reference in New Issue
Block a user