Need help with red-screen-of-death?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

mlegy
179 Stars 10 Forks Apache License 2.0 43 Commits 5 Opened issues

Description

A simple screen that is shown when your app gets crashed instead of the normal crash dialog. It's very similar to the one in Flutter.

Services available

!
?

Need anything else?

Contributors list

# 163,280
Kotlin
elevati...
geocode
reddit
41 commits
# 30,737
Groovy
sharedp...
Android
Gradle
1 commit

Red Screen Of Death

What

A simple screen that is shown when your app gets crashed instead of the normal crash dialog.

It's very similar to the one in Flutter.

Install

RedScreenOfDeath
is distributed via
JCenter
. Add the dependencies to your
build.gradle
file.

There is also a

no-op
implementation of the library that you can use to make it easier to strip it from your release builds.

In your

build.gradle
:
repositories {
  mavenCentral()
}

dependencies { debugImplementation 'com.mlegy.redscreenofdeath:red-screen-of-death:0.1.3' releaseImplementation 'com.mlegy.redscreenofdeath:red-screen-of-death-no-op:0.1.3' }

In your

Application
class:
  • Kotlin

    kotlin
    class MyApp : Application() {  
    override fun onCreate() {  
        super.onCreate()  
        RedScreenOfDeath.init(this)  
    }  
    }
    
  • Java

    java
    public class MyApp extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        RedScreenOfDeath.init(this);
    }
    }
    

And you are done!

Disclaimer

This should be used only in your debug buids because if you have any other library that has it's own implementation of

UncaughtExceptionHandler
it won't work. Red Screen of Death doesn't propagate the exception to other exception handlers, because we don't want to show the "App stopped" dialog.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.