mirror of
https://github.com/oxen-io/session-android.git
synced 2025-01-12 00:33:39 +00:00
Only record crashes in release mode
This commit is contained in:
parent
cad37f29e7
commit
8a16fd2a97
@ -165,7 +165,9 @@ public class ApplicationContext extends MultiDexApplication implements Dependenc
|
||||
// Loki - Set up P2P API if needed
|
||||
setUpP2PAPI();
|
||||
// Loki - Set up beta analytics
|
||||
Fabric.with(this, new Crashlytics());
|
||||
if (!BuildConfig.DEBUG) {
|
||||
Fabric.with(this, new Crashlytics());
|
||||
}
|
||||
mixpanel = MixpanelAPI.getInstance(this, "59040b6707e5a1725f3fb6730fefca92");
|
||||
Analytics.Companion.getShared().trackImplementation = (Function1<String, Unit>) event -> {
|
||||
HashMap<String, Object> properties = new HashMap();
|
||||
|
Loading…
x
Reference in New Issue
Block a user