diff --git a/app/build.gradle b/app/build.gradle index 89e59492..35f8ee5e 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -126,7 +126,7 @@ android { } dependencies { - def acraVersion = '5.0.1' + def acraVersion = '5.2.1' implementation "ch.acra:acra-mail:$acraVersion" implementation "ch.acra:acra-toast:$acraVersion" def supportVersion = '27.1.1' diff --git a/app/src/main/java/com/etesync/syncadapter/App.kt b/app/src/main/java/com/etesync/syncadapter/App.kt index 96608716..577b251c 100644 --- a/app/src/main/java/com/etesync/syncadapter/App.kt +++ b/app/src/main/java/com/etesync/syncadapter/App.kt @@ -77,7 +77,7 @@ import io.requery.sql.EntityDataStore import okhttp3.internal.tls.OkHostnameVerifier @AcraCore(buildConfigClass = BuildConfig::class, logcatArguments = arrayOf("-t", "500", "-v", "time")) -@AcraMailSender(mailTo = "reports@etesync.com", subject = R.string.crash_email_subject, reportFileName = "ACRA-report.stacktrace.json") +@AcraMailSender(mailTo = "reports@etesync.com", resSubject = R.string.crash_email_subject, reportFileName = "ACRA-report.stacktrace.json") @AcraToast(resText = R.string.crash_message, length = Toast.LENGTH_LONG) class App : Application() {