Skip to content

Commit

Permalink
Init crashlytics before planting the crash tree.
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulWoitaschek committed Nov 2, 2018
1 parent 0fa291c commit b681ad8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/de/ph1b/audiobook/injection/App.kt
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ class App : Application() {
AndroidSchedulers.from(Looper.getMainLooper(), true)
}

CrashlyticsProxy.init(this)
GlobalScope.launch {
if (BuildConfig.DEBUG) {
Timber.plant(Timber.DebugTree())
Expand All @@ -64,7 +65,6 @@ class App : Application() {
.build()
DataInjector.component = component
component.inject(this)
CrashlyticsProxy.init(this)

val uiModeManager = getSystemService<UiModeManager>()!!
@Suppress("CheckResult")
Expand Down

0 comments on commit b681ad8

Please sign in to comment.