0
acra를 사용하여 전자 메일 지원을받은 크래시 덤프를 추가하려고합니다. 앱 재시작에 대한 대화 상자를 표시하는 옵션이 있다고 생각합니다. 응용 프로그램이 살해되기 전에 충돌이 발생하는 경우크래시 안드로이드에 대한 ACRA 대화 상자 및 전자 메일 대상
아래는 내 reportCrash
나는 앱 다시 시작할 대화 상자를 표시 할 수있는 옵션이 있다고 생각하지 않습니다@ReportsCrashes(formKey="dGVacG0ydVHnaNHjRjVTUTEtb3FPWGc6MQ",
mode = ReportingInteractionMode.DIALOG,
customReportContent = { ReportField.APP_VERSION_CODE, ReportField.APP_VERSION_NAME,
ReportField.ANDROID_VERSION, ReportField.PHONE_MODEL, ReportField.CUSTOM_DATA,
ReportField.STACK_TRACE, ReportField.LOGCAT },
resToastText = R.string.crash_toast_text, // optional, displayed as soon as the crash occurs, before collecting data which can take a few seconds
resDialogText = R.string.crash_dialog_text,
resDialogIcon = android.R.drawable.ic_dialog_info, //optional. default is a warning sign
resDialogTitle = R.string.crash_dialog_title, // optional. default is your application name
resDialogCommentPrompt = R.string.crash_dialog_comment_prompt, // optional. when defined, adds a user text field input with this text resource as a label
resDialogOkToast = R.string.crash_dialog_ok_toast // optional. displays a Toast message when the user accepts to send a report.
)
mailto 옵션을 추가하는 경우 전자 메일을 준비하거나 보내지 않아도됩니다. 나는 너에게 고마워한다. – mSO