Remove automated error loggers
This commit is contained in:
parent
cf5a6473b9
commit
eebb3b7699
3 changed files with 0 additions and 24 deletions
|
@ -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"
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
}
|
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue