mirror of
https://github.com/oxen-io/session-android.git
synced 2025-05-06 15:27:04 +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
|
// Loki - Set up P2P API if needed
|
||||||
setUpP2PAPI();
|
setUpP2PAPI();
|
||||||
// Loki - Set up beta analytics
|
// Loki - Set up beta analytics
|
||||||
|
if (!BuildConfig.DEBUG) {
|
||||||
Fabric.with(this, new Crashlytics());
|
Fabric.with(this, new Crashlytics());
|
||||||
|
}
|
||||||
mixpanel = MixpanelAPI.getInstance(this, "59040b6707e5a1725f3fb6730fefca92");
|
mixpanel = MixpanelAPI.getInstance(this, "59040b6707e5a1725f3fb6730fefca92");
|
||||||
Analytics.Companion.getShared().trackImplementation = (Function1<String, Unit>) event -> {
|
Analytics.Companion.getShared().trackImplementation = (Function1<String, Unit>) event -> {
|
||||||
HashMap<String, Object> properties = new HashMap();
|
HashMap<String, Object> properties = new HashMap();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user