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

CrashReportDialogHelper
Link copied to clipboard
fun CrashReportDialogHelper(context: Context, intent: Intent)
a context

Functions

cancelReports
Link copied to clipboard
fun cancelReports()
Cancel any pending crash reports.
sendCrash
Link copied to clipboard
fun sendCrash(comment: String?, userEmail: String?)
Send crash report given user's comment and email address.

Properties

config
Link copied to clipboard
val config: CoreConfiguration
Provides the configuration
reportData
Link copied to clipboard
val reportData: CrashReportData
loads the current report data