Core Configuration
Constructors
Properties
Custom tags to be included in DropBox event collection
Add here your android.content.SharedPreferences identifier Strings if you use others than your application's default. They will be added to the ReportField.SHARED_PREFERENCES field.
Set this to true if you prefer displaying the native force close dialog after ACRA is done. Recommended: Keep this set to false if using interactions with user input.
To use in combination with ReportField.APPLICATION_LOG to set the path/name of your application log file.
To use in combination with ReportField.APPLICATION_LOG to set the root for the path provided in applicationLogFile
To use in combination with ReportField.APPLICATION_LOG to set the number of latest lines of your application log file to be collected. Default value is 100.
Allows attachmentUris configuration at runtime instead of compile time.
Allows to attach files to crash reports.
The default value will be a BuildConfig class residing in the same package as the Application class. You only have to set this option if your BuildConfig class is obfuscated.
Controls whether unapproved reports are deleted on application start or not.
DropBox event collection will look back this many minutes
Provide here regex patterns to be evaluated on each [android.provider.Settings.System}, android.provider.Settings.Secure and android.provider.Settings.Global key to exclude KV pairs from being collected. This allows you to exclude sensitive data from being collected.
Provide here regex patterns to be evaluated on each android.content.SharedPreferences key to exclude KV pairs from the collected SharedPreferences. This allows you to exclude sensitive user data like passwords from being collected.
If enabled, DropBox events collection will include system tags:
Arguments to be passed to the logcat command line.
Set this to true if you want to include only logcat lines related to your Application process. Note that this is always done by android starting with API 16 (Jellybean)
Set this to true if you want to read logcat lines in a non blocking way for your thread. It has a default timeout of 3 seconds.
Plugin configurations
Allows custom plugin loading
Redefines the list of ReportFields collected and sent in your reports.
Format in which the report should be sent
Toast shown when report sending fails
Toast shown when a report is sent successfully
Implement a custom RetryPolicy to decide if a failed report should be resent or not.
Set this to false if you want to disable sending reports in development mode. Only signed application packages will send reports.
Name of the SharedPreferences that will host ACRA settings which you can make accessible to your users through a preferences screen:
If you have services which might crash on startup android will try to restart them indefinitely. Set this to true to prevent that.