I updated the ACRA library used by my application from 4.5.0 to 4.6.0, but I get a compilation error for formKey which was used to work with 4.5.
Here is the announcement:
@ReportsCrashes(
formKey = "",
formUri = "",
socketTimeout = 10000,
httpMethod = org.acra.sender.HttpSender.Method.POST,
mode = ReportingInteractionMode.SILENT,
resDialogText = R.string.crash_dialog_text,
resDialogIcon = android.R.drawable.ic_dialog_info,
resDialogTitle = R.string.crash_dialog_title,
resDialogCommentPrompt = R.string.crash_dialog_comment_prompt,
)
Here is the error:
Error: (19, 17) error: cannot find symbol method formKey ()
I tried to remove formKey, as it is no longer used, from the declaration, but it creates a new error after I did this.
source
share