Add a way to crash this app on demand. Useful to test Crash detection, and analytics report, etc.
This commit is contained in:
parent
9d9a0c744e
commit
32c8fdae99
1 changed files with 6 additions and 0 deletions
|
|
@ -56,6 +56,12 @@ fun DeveloperSettingsView(
|
|||
RageshakePreferencesView(
|
||||
state = state.rageshakeState,
|
||||
)
|
||||
PreferenceCategory(title = "Crash", showDivider = false) {
|
||||
PreferenceText(
|
||||
title = "Crash the app 💥!,",
|
||||
onClick = { error("This crash is a test.") }
|
||||
)
|
||||
}
|
||||
val cache = state.cacheSize
|
||||
PreferenceCategory(title = "Cache", showDivider = false) {
|
||||
PreferenceText(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue