-
-
Notifications
You must be signed in to change notification settings - Fork 463
feat: minimal tombstone integration #4933
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 17 commits
ba0c7db
9933e47
10b1e94
f12b658
4b6e1fb
95bd726
4f03857
936a2f0
28652e0
920221a
48ed5e1
10c7a1f
6cbfdf8
4b1919e
d931ddc
65bc76b
25f4089
7db5895
a8ea230
92cb264
ed81771
480bfd6
c8acdf9
125b0c4
7e29fbf
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| package io.sentry.android.core; | ||
|
|
||
| import android.content.Context; | ||
| import androidx.annotation.WorkerThread; | ||
| import io.sentry.BackfillingEventProcessor; | ||
| import org.jetbrains.annotations.ApiStatus; | ||
| import org.jetbrains.annotations.NotNull; | ||
|
|
||
| /** originating from the Native SDK. */ | ||
| @ApiStatus.Internal | ||
| @WorkerThread | ||
| public class TombstoneEventProcessor implements BackfillingEventProcessor { | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I guess we can get rid of this then in favor of
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, this is an obsolete leftover of my initial attempt. However, once we connect the Native SDK with tombstones, a separate |
||
|
|
||
| @NotNull private final Context context; | ||
| @NotNull private final SentryAndroidOptions options; | ||
| @NotNull private final BuildInfoProvider buildInfoProvider; | ||
|
|
||
| public TombstoneEventProcessor( | ||
| @NotNull Context context, | ||
| @NotNull SentryAndroidOptions options, | ||
| @NotNull BuildInfoProvider buildInfoProvider) { | ||
| this.context = context; | ||
| this.options = options; | ||
| this.buildInfoProvider = buildInfoProvider; | ||
| } | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@romtsn Not sure if you followed the conversations, but as you can see here, protobuf requires a runtime dependency. It will have an impact of around 10kb. IMHO fine for now, we should still check how stable this library is to avoid and consumer version mismatch issues.