Firebase follow privacy setting
This commit is contained in:
parent
f8f1fc54be
commit
48e8888b82
|
@ -162,7 +162,7 @@ public class MainApp extends DaggerApplication {
|
|||
registerActivityLifecycleCallbacks(ActivityMonitor.INSTANCE);
|
||||
|
||||
mFirebaseAnalytics = FirebaseAnalytics.getInstance(this);
|
||||
mFirebaseAnalytics.setAnalyticsCollectionEnabled(!Boolean.getBoolean("disableFirebase"));
|
||||
mFirebaseAnalytics.setAnalyticsCollectionEnabled(!Boolean.getBoolean("disableFirebase") && FabricPrivacy.fabricEnabled());
|
||||
|
||||
JodaTimeAndroid.init(this);
|
||||
|
||||
|
|
Loading…
Reference in a new issue