I've been pulling my hair out on this for the last 2 hours.
I cannot get the programmatic config to work with sending an e-mail and a
pop-up dialog.
The closest I got was:
@ReportsCrashes(formKey = StringUtils.EMPTY, //
mailTo = "myem...@gmail.com")
public class MyApp extends Application
{
ACRA.init(application);
ACRAConfiguration configuration = ACRA.getConfig();
configuration.setResNotifTickerText(R.string.unexpected_error_notification_ ticker);
configuration.setResNotifTitle(R.string.unexpected_error_notification_title );
configuration.setResNotifText(R.string.unexpected_error_notification_text);
configuration.setResNotifIcon(R.drawable.icon_notify_error);
configuration.setResDialogTitle(R.string.app_name_display);
configuration.setResDialogText(R.string.unexpected_error_warning);
configuration.setResDialogCommentPrompt(R.string.unexpected_error_comment);
configuration.setResDialogOkToast(R.string.thank_you);
configuration.setMode(ReportingInteractionMode.NOTIFICATION);
ACRA.setConfig(configuration);
}
But this will go to the e-mail app without popping up the dialog that the
same static configuration options do.
I've tried many different things, like leaving out the e-mail from the
ReportCrashes and putting into code, but that's even worse, I get a dialog,
but then just a toast and no e-mail
What am I doing wrong?
Thanks,
Tom