Commit 9cf9354c authored by Robert Hitt's avatar Robert Hitt

Should actually fix CI build failing

parent 497c3af6
Pipeline #1029 failed with stages
in 2 minutes and 22 seconds
......@@ -20,11 +20,14 @@ public class MyApplication extends Application {
@Override
public void onCreate() {
super.onCreate();
Fabric.with(this, new Crashlytics.Builder()
.core(new CrashlyticsCore.Builder()
.disabled(BuildConfig.DEBUG)
.build())
.build());
if(!BuildConfig.DEBUG) {
Fabric.with(this, new Crashlytics.Builder()
.core(new CrashlyticsCore.Builder()
.disabled(BuildConfig.DEBUG)
.build())
.build());
}
// Set up LeakCanary for memory leak detection
if(LeakCanary.isInAnalyzerProcess(this)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment