mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-28 13:23:58 +01:00
Add Traceur for getting meaningful RxJava stack traces (#1832)
This commit is contained in:
parent
b17957dbb1
commit
11c3772dd0
2 changed files with 5 additions and 0 deletions
|
|
@ -62,6 +62,7 @@ dependencies {
|
||||||
testImplementation 'com.squareup.okhttp3:mockwebserver:3.8.1'
|
testImplementation 'com.squareup.okhttp3:mockwebserver:3.8.1'
|
||||||
implementation 'com.dinuscxj:circleprogressbar:1.1.1'
|
implementation 'com.dinuscxj:circleprogressbar:1.1.1'
|
||||||
|
|
||||||
|
implementation 'com.tspoon.traceur:traceur:1.0.1'
|
||||||
implementation 'com.caverock:androidsvg:1.2.1'
|
implementation 'com.caverock:androidsvg:1.2.1'
|
||||||
implementation 'com.github.bumptech.glide:glide:4.7.1'
|
implementation 'com.github.bumptech.glide:glide:4.7.1'
|
||||||
kapt 'com.github.bumptech.glide:compiler:4.7.1'
|
kapt 'com.github.bumptech.glide:compiler:4.7.1'
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,8 @@ import com.facebook.imagepipeline.core.ImagePipelineConfig;
|
||||||
import com.facebook.stetho.Stetho;
|
import com.facebook.stetho.Stetho;
|
||||||
import com.squareup.leakcanary.LeakCanary;
|
import com.squareup.leakcanary.LeakCanary;
|
||||||
import com.squareup.leakcanary.RefWatcher;
|
import com.squareup.leakcanary.RefWatcher;
|
||||||
|
import com.tspoon.traceur.Traceur;
|
||||||
|
import com.tspoon.traceur.TraceurConfig;
|
||||||
|
|
||||||
import org.acra.ACRA;
|
import org.acra.ACRA;
|
||||||
import org.acra.ReportingInteractionMode;
|
import org.acra.ReportingInteractionMode;
|
||||||
|
|
@ -69,6 +71,8 @@ public class CommonsApplication extends MultiDexApplication {
|
||||||
@Override
|
@Override
|
||||||
public void onCreate() {
|
public void onCreate() {
|
||||||
super.onCreate();
|
super.onCreate();
|
||||||
|
Traceur.enableLogging();
|
||||||
|
|
||||||
ApplicationlessInjection
|
ApplicationlessInjection
|
||||||
.getInstance(this)
|
.getInstance(this)
|
||||||
.getCommonsApplicationComponent()
|
.getCommonsApplicationComponent()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue