CrashReportDialogHelper

class CrashReportDialogHelper(context: Context, intent: Intent)

Use this class to integrate your custom crash report dialog with ACRA.

Call this in your android.app.Activity.onCreate. The intent must contain two extras:

  1. DialogInteraction.EXTRA_REPORT_FILE

  2. DialogInteraction.EXTRA_REPORT_CONFIG

Author

f43nd1r

Since

5.4.0

Parameters

context

a context

intent

the intent which started this activity

Throws

if the intent cannot be parsed or does not contain the correct data

Constructors

Link copied to clipboard
constructor(context: Context, intent: Intent)

Properties

Link copied to clipboard

Provides the configuration

Link copied to clipboard

loads the current report data

Functions

Link copied to clipboard

Cancel any pending crash reports.

Link copied to clipboard
fun sendCrash(comment: String?, userEmail: String?)

Send crash report given user's comment and email address.