Remove automated error loggers

This commit is contained in:
William Brawner 2020-04-19 10:40:09 -07:00
parent cf5a6473b9
commit eebb3b7699
3 changed files with 0 additions and 24 deletions

View file

@ -70,8 +70,4 @@ dependencies {
def lifecycle_version = '2.2.0'
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"
implementation "androidx.lifecycle:lifecycle-livedata-ktx:$lifecycle_version"
def acraVersion = '5.1.3'
implementation "ch.acra:acra-mail:$acraVersion"
implementation "ch.acra:acra-notification:$acraVersion"
implementation "ch.acra:acra-limiter:$acraVersion"
}

View file

@ -3,23 +3,11 @@ package com.wbrawner.pihelper
import android.app.Application
import android.content.Context
import com.wbrawner.piholeclient.piHoleClientModule
import org.acra.ACRA
import org.acra.annotation.AcraCore
import org.acra.annotation.AcraMailSender
import org.acra.annotation.AcraNotification
import org.koin.android.ext.koin.androidContext
import org.koin.android.ext.koin.androidLogger
import org.koin.core.context.startKoin
@Suppress("unused")
@AcraCore(buildConfigClass = BuildConfig::class)
@AcraMailSender(mailTo = "pihelper@wbrawner.com")
@AcraNotification(
resIcon = R.drawable.ic_notification,
resTitle = R.string.title_crash_notification,
resText = R.string.text_crash_notification,
resChannelName = R.string.channel_crash_notification
)
class PiHelperApplication: Application() {
override fun onCreate() {
super.onCreate()
@ -32,9 +20,4 @@ class PiHelperApplication: Application() {
))
}
}
override fun attachBaseContext(base: Context?) {
super.attachBaseContext(base)
ACRA.init(this)
}
}

View file

@ -6,9 +6,6 @@ buildscript {
repositories {
google()
jcenter()
maven {
url 'https://maven.fabric.io/public'
}
}
dependencies {
classpath 'com.android.tools.build:gradle:3.6.2'