From b60a2064743965849625fdd4c0369e480a4d030e Mon Sep 17 00:00:00 2001 From: Thodoris1999 Date: Mon, 15 Oct 2018 00:58:08 +0300 Subject: [PATCH] bira --- app/src/main/java/gr/thmmy/mthmmy/base/BaseApplication.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/gr/thmmy/mthmmy/base/BaseApplication.java b/app/src/main/java/gr/thmmy/mthmmy/base/BaseApplication.java index b2a930ee..90115a0e 100644 --- a/app/src/main/java/gr/thmmy/mthmmy/base/BaseApplication.java +++ b/app/src/main/java/gr/thmmy/mthmmy/base/BaseApplication.java @@ -68,8 +68,6 @@ public class BaseApplication extends Application { // Initialize Timber if (BuildConfig.DEBUG) Timber.plant(new Timber.DebugTree()); - else - Timber.plant(new CrashReportingTree()); //Shared Preferences SharedPreferences sharedPrefs = getSharedPreferences(SHARED_PREFS, MODE_PRIVATE); @@ -82,6 +80,7 @@ public class BaseApplication extends Application { .build(); // Initialize Fabric with the debug-disabled Crashlytics. Fabric.with(this, crashlyticsKit); + Timber.plant(new CrashReportingTree()); Timber.i("Starting app with Crashlytics enabled."); } else Timber.i("Starting app with Crashlytics disabled.");