From 1ec75d0b2b7f746e2a0ae982b936fa4f566ec738 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Wed, 21 Jun 2017 00:42:23 -0700 Subject: Initialize fabric first --- app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/src/main/kotlin/com') diff --git a/app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt b/app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt index d21915e7..d4f35a7e 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt @@ -48,8 +48,8 @@ class FrostApp : Application() { Timber.plant(DebugTree()) // LeakCanary.enableDisplayLeakActivity(this) } else { - Crashlytics.setUserIdentifier("${Prefs.installDate}-${Prefs.identifier}") Fabric.with(this, Crashlytics(), Answers()) + Crashlytics.setUserIdentifier("${Prefs.installDate}-${Prefs.identifier}") Timber.plant(CrashReportingTree()) } -- cgit v1.2.3