diff --git a/app/src/main/java/info/nightscout/androidaps/MainApp.kt b/app/src/main/java/info/nightscout/androidaps/MainApp.kt index f3a0f03ec4..ef511a2046 100644 --- a/app/src/main/java/info/nightscout/androidaps/MainApp.kt +++ b/app/src/main/java/info/nightscout/androidaps/MainApp.kt @@ -6,6 +6,7 @@ import android.content.IntentFilter import android.net.ConnectivityManager import android.net.wifi.WifiManager import android.os.Build +import com.uber.rxdogtag.RxDogTag import dagger.android.AndroidInjector import dagger.android.DaggerApplication import info.nightscout.androidaps.database.AppRepository @@ -62,6 +63,7 @@ class MainApp : DaggerApplication() { override fun onCreate() { super.onCreate() aapsLogger.debug("onCreate") + RxDogTag.install() update(this) var gitRemote: String? = BuildConfig.REMOTE @@ -134,4 +136,4 @@ class MainApp : DaggerApplication() { keepAliveManager.cancelAlarm(this) super.onTerminate() } -} \ No newline at end of file +} diff --git a/core/core_dependencies.gradle b/core/core_dependencies.gradle index fbfb5ce29e..bd18f7fe52 100644 --- a/core/core_dependencies.gradle +++ b/core/core_dependencies.gradle @@ -43,6 +43,7 @@ dependencies { api "io.reactivex.rxjava2:rxandroid:$rxandroid_version" api "org.apache.commons:commons-lang3:$commonslang3_version" api "commons-codec:commons-codec:$commonscodec_version" + api "com.uber.rxdogtag:rxdogtag:1.0.1" //CryptoUtil api 'com.madgag.spongycastle:core:1.58.0.0' @@ -106,4 +107,4 @@ dependencies { // Phone checker // updating to 0.0.9 prevents AAPS from build api 'com.scottyab:rootbeer-lib:0.0.8' -} \ No newline at end of file +}