diff --git a/src/custom/java/com/owncloud/android/CustomApp.java b/src/custom/java/com/owncloud/android/CustomApp.java index a0d79c4ffe..f4865f5ab2 100644 --- a/src/custom/java/com/owncloud/android/CustomApp.java +++ b/src/custom/java/com/owncloud/android/CustomApp.java @@ -41,12 +41,10 @@ public class CustomApp extends MainApp { /* In order for Firebase Analytics to work, you also need to put a proper google-services.json in src/custom folder + + If that file is flawed, nothing will be sent to Firebase */ - if (getResources().getBoolean(R.bool.enable_analytics)) { - return firebaseAnalytics; - } else { - return null; - } + return firebaseAnalytics; } } diff --git a/src/main/res/values/setup.xml b/src/main/res/values/setup.xml index afc4777763..d8b92be977 100644 --- a/src/main/res/values/setup.xml +++ b/src/main/res/values/setup.xml @@ -99,9 +99,6 @@ cloud - - false -