Custom: Disable Crashlytics.
(cherry picked from commit 7890f6b) (cherry picked from commit 1374739)
This commit is contained in:
parent
dddcfb02f0
commit
015a852ab5
1 changed files with 3 additions and 1 deletions
|
@ -11,6 +11,7 @@ import android.support.v4.content.LocalBroadcastManager;
|
|||
import com.crashlytics.android.Crashlytics;
|
||||
import com.crashlytics.android.answers.Answers;
|
||||
import com.crashlytics.android.answers.CustomEvent;
|
||||
import com.crashlytics.android.core.CrashlyticsCore;
|
||||
import com.j256.ormlite.android.apptools.OpenHelperManager;
|
||||
import com.squareup.otto.Bus;
|
||||
import com.squareup.otto.ThreadEnforcer;
|
||||
|
@ -98,7 +99,8 @@ public class MainApp extends Application {
|
|||
@Override
|
||||
public void onCreate() {
|
||||
super.onCreate();
|
||||
Fabric.with(this, new Crashlytics());
|
||||
Crashlytics crashlytics = new Crashlytics.Builder().disabled(true).build();
|
||||
Fabric.with(this, crashlytics);
|
||||
Fabric.with(this, new Answers());
|
||||
Crashlytics.setString("BUILDVERSION", BuildConfig.BUILDVERSION);
|
||||
log.info("Version: " + BuildConfig.VERSION_NAME);
|
||||
|
|
Loading…
Reference in a new issue