How to disable Crashlytics and Answers during DEBUG

Viewed 1001

I want to disable Crashlytics and Answers to be executed on Debugging environment.

I found many solutions on the web, but none describe how to disable the Answer module.

Right now, I´m using the following code. However, only Crashlytics is disabled.

CrashlyticsCore core = new CrashlyticsCore.Builder().disabled(BuildConfig.DEBUG).build();
Fabric.with(this, new Crashlytics.Builder().core(core).build(), new Answers());
1 Answers
Related