mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
Create addUserData method in the analytics providers
This allows us to globally add arbitrary data to the events and transactions
This commit is contained in:
committed by
Jorge Martin Espinosa
parent
d1fd3020a0
commit
5ca108c526
+4
@@ -86,6 +86,10 @@ class SentryAnalyticsProvider(
|
||||
override fun updateSuperProperties(updatedProperties: SuperProperties) {
|
||||
}
|
||||
|
||||
override fun addUserData(key: String, value: String) {
|
||||
Sentry.setExtra(key, value)
|
||||
}
|
||||
|
||||
override fun trackError(throwable: Throwable) {
|
||||
Sentry.captureException(throwable)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user