Core Configuration
class CoreConfiguration(sharedPreferencesName: String?, includeDropBoxSystemTags: Boolean, additionalDropBoxTags: List<String>, dropboxCollectionMinutes: Int, logcatArguments: List<String>, reportContent: List<ReportField>, deleteUnapprovedReportsOnApplicationStart: Boolean, alsoReportToAndroidFramework: Boolean, additionalSharedPreferences: List<String>, logcatFilterByPid: Boolean, logcatReadNonBlocking: Boolean, sendReportsInDevMode: Boolean, excludeMatchingSharedPreferencesKeys: List<String>, excludeMatchingSettingsKeys: List<String>, buildConfigClass: Class<*>?, applicationLogFile: String, applicationLogFileLines: Int, applicationLogFileDir: Directory, retryPolicyClass: Class<out RetryPolicy>, stopServicesOnCrash: Boolean, attachmentUris: List<String>, attachmentUriProvider: Class<out AttachmentUriProvider>, reportSendSuccessToast: String?, reportSendFailureToast: String?, reportFormat: StringFormat, parallel: Boolean, pluginLoader: PluginLoader, pluginConfigurations: List<Configuration>) : Serializable, Configuration
Content copied to clipboard
Functions
Properties
additionalDropBoxTags
Link copied to clipboard
additionalSharedPreferences
Link copied to clipboard
Add here your android.content.SharedPreferences identifier Strings if you use others than your application's default.
alsoReportToAndroidFramework
Link copied to clipboard
applicationLogFile
Link copied to clipboard
applicationLogFileDir
Link copied to clipboard
To use in combination with ReportField.APPLICATION_LOG to set the root for the path provided in applicationLogFile
applicationLogFileLines
Link copied to clipboard
attachmentUriProvider
Link copied to clipboard
Allows attachmentUris configuration at runtime instead of compile time.
attachmentUris
Link copied to clipboard
buildConfigClass
Link copied to clipboard
deleteUnapprovedReportsOnApplicationStart
Link copied to clipboard
dropboxCollectionMinutes
Link copied to clipboard
excludeMatchingSettingsKeys
Link copied to clipboard
excludeMatchingSharedPreferencesKeys
Link copied to clipboard
Provide here regex patterns to be evaluated on each android.content.SharedPreferences key to exclude KV pairs from the collected SharedPreferences.
includeDropBoxSystemTags
Link copied to clipboard
If enabled, DropBox events collection will include system tags:
system_app_anr
system_app_wtf
system_app_crash
system_server_anr
system_server_wtf
system_server_crash
BATTERY_DISCHARGE_INFO
SYSTEM_RECOVERY_LOG
SYSTEM_BOOT
SYSTEM_LAST_KMSG
APANIC_CONSOLE
APANIC_THREADS
SYSTEM_RESTART
SYSTEM_TOMBSTONE
data_app_strictmode
logcatArguments
Link copied to clipboard
logcatFilterByPid
Link copied to clipboard
logcatReadNonBlocking
Link copied to clipboard
pluginConfigurations
Link copied to clipboard
pluginLoader
Link copied to clipboard
reportContent
Link copied to clipboard
reportFormat
Link copied to clipboard
reportSendFailureToast
Link copied to clipboard
reportSendSuccessToast
Link copied to clipboard
retryPolicyClass
Link copied to clipboard
Implement a custom RetryPolicy to decide if a failed report should be resent or not.
sendReportsInDevMode
Link copied to clipboard
sharedPreferencesName
Link copied to clipboard
Name of the SharedPreferences that will host ACRA settings which you can make accessible to your users through a preferences screen:Default is to use the application default SharedPreferences, as retrieved with android.preference.PreferenceManager.getDefaultSharedPreferences
stopServicesOnCrash
Link copied to clipboard
Extensions
findPluginConfiguration
Link copied to clipboard
inline fun <T : Configuration> CoreConfiguration.findPluginConfiguration(): T?
Content copied to clipboard
fun <T : Configuration> CoreConfiguration.findPluginConfiguration(c: Class<T>): T?
Content copied to clipboard
getPluginConfiguration
Link copied to clipboard
inline fun <T : Configuration> CoreConfiguration.getPluginConfiguration(): T
Content copied to clipboard
fun <T : Configuration> CoreConfiguration.getPluginConfiguration(c: Class<T>): T
Content copied to clipboard