init

fun init(applicationContext: Context, activityToBeLaunched: Class<*>)

Initializes the CrashHandler and sets it as the default uncaught exception handler.

Parameters

applicationContext

The application context used to create the handler.

activityToBeLaunched

The activity class to launch on crash.