diff --git a/app/build.gradle b/app/build.gradle index c8c8651ff7bf3cb8c43e906800856bd2964b1d87..d705ff3ca76652e3b76be8018efb079830603117 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -106,7 +106,7 @@ dependencies { implementation 'androidx.test:core:1.4.0' implementation 'com.jakewharton.timber:timber:5.0.1' implementation 'foundation.e:elib:0.0.1-alpha11' - implementation 'foundation.e.lib:telemetry:0.0.4-alpha' + implementation 'foundation.e.lib:telemetry:0.0.7-alpha' androidTestImplementation 'androidx.test:runner:1.4.0' androidTestImplementation 'androidx.test:rules:1.4.0' diff --git a/app/src/main/java/foundation/e/drive/EdriveApplication.java b/app/src/main/java/foundation/e/drive/EdriveApplication.java index 1b69053b4529ef88d976a59ed03bf6abfef9fb48..ac1765a248de6ddb58faff617f90143f623e09b7 100644 --- a/app/src/main/java/foundation/e/drive/EdriveApplication.java +++ b/app/src/main/java/foundation/e/drive/EdriveApplication.java @@ -23,6 +23,7 @@ import foundation.e.drive.services.SynchronizationService; import foundation.e.drive.utils.AppConstants; import foundation.e.drive.utils.CommonUtils; import foundation.e.drive.utils.ReleaseTree; +import foundation.e.lib.telemetry.Telemetry; import timber.log.Timber; import static timber.log.Timber.DebugTree; @@ -43,6 +44,7 @@ public class EdriveApplication extends Application { if (BuildConfig.DEBUG) { Timber.plant(new DebugTree()); } else { + Telemetry.init(BuildConfig.SENTRY_DSN, this, true); Timber.plant(new ReleaseTree()); } Timber.tag("EdriveApplication");