From b681ad84c03b11e17908b73bad4dc6b64da5e829 Mon Sep 17 00:00:00 2001 From: Paul Woitaschek Date: Fri, 2 Nov 2018 23:32:51 +0100 Subject: [PATCH] Init crashlytics before planting the crash tree. --- app/src/main/java/de/ph1b/audiobook/injection/App.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/de/ph1b/audiobook/injection/App.kt b/app/src/main/java/de/ph1b/audiobook/injection/App.kt index 4672b928dc..5ba9414c1d 100644 --- a/app/src/main/java/de/ph1b/audiobook/injection/App.kt +++ b/app/src/main/java/de/ph1b/audiobook/injection/App.kt @@ -51,6 +51,7 @@ class App : Application() { AndroidSchedulers.from(Looper.getMainLooper(), true) } + CrashlyticsProxy.init(this) GlobalScope.launch { if (BuildConfig.DEBUG) { Timber.plant(Timber.DebugTree()) @@ -64,7 +65,6 @@ class App : Application() { .build() DataInjector.component = component component.inject(this) - CrashlyticsProxy.init(this) val uiModeManager = getSystemService()!! @Suppress("CheckResult")