-
Notifications
You must be signed in to change notification settings - Fork 6
feat(jvm): add sdk version to reports #397
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?
Conversation
b6f7d80
to
7224c06
Compare
5931ca1
to
e6a9d3c
Compare
platform/jvm/capture/src/test/kotlin/io/bitdrift/capture/FatalIssueReporterProcessorTest.kt
Outdated
Show resolved
Hide resolved
e6a9d3c
to
6703930
Compare
} | ||
|
||
private class CoreSDKVersionProvider : ISDKVersionProvider { | ||
override fun getSDKVersion(): String? = CaptureJniLibrary.getSdkVersion() |
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.
nice
📦 APK Size Report
|
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.
Actually let's wait for a moment, I wasn't able to get ANR reports from app exit after this
...capture/src/main/kotlin/io/bitdrift/capture/reports/processor/FatalIssueReporterProcessor.kt
Outdated
Show resolved
Hide resolved
6703930
to
330c49d
Compare
📦 APK Size Report
|
330c49d
to
4be1909
Compare
📦 APK Size Report
|
ensures that the native capture lib is loaded, and only called at most once through lazily evaluating the sdkVersion property of the processor
4be1909
to
15bcda4
Compare
📦 APK Size Report
|
there's already a nice test for ensuring the value set is sent (via
FatalIssueReporterStorageTest
. This change propagates the value from core to reports.sample (you'd need to look at the actual crash artifact to confirm, I think)