Skip to content

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kattrali
Copy link
Contributor

@kattrali kattrali commented May 22, 2025

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)

@kattrali kattrali force-pushed the dfuller/bit-5141-plumb-through-sdkversion branch from b6f7d80 to 7224c06 Compare May 22, 2025 11:08
@bitdriftlabs bitdriftlabs deleted a comment from github-actions bot May 22, 2025
@kattrali kattrali force-pushed the dfuller/bit-5141-plumb-through-sdkversion branch 3 times, most recently from 5931ca1 to e6a9d3c Compare May 23, 2025 14:40
@kattrali kattrali marked this pull request as ready for review May 23, 2025 15:05
@kattrali kattrali requested a review from FranAguilera May 23, 2025 15:05
@kattrali kattrali force-pushed the dfuller/bit-5141-plumb-through-sdkversion branch from e6a9d3c to 6703930 Compare May 23, 2025 18:09
}

private class CoreSDKVersionProvider : ISDKVersionProvider {
override fun getSDKVersion(): String? = CaptureJniLibrary.getSdkVersion()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

Copy link

📦 APK Size Report

Metric Size (KB)
Baseline 3570
Current 3574
Difference 4

❌ APK size increased by 4 KB.

Copy link
Contributor

@FranAguilera FranAguilera left a 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

@kattrali kattrali force-pushed the dfuller/bit-5141-plumb-through-sdkversion branch from 6703930 to 330c49d Compare June 5, 2025 13:25
Copy link

github-actions bot commented Jun 5, 2025

📦 APK Size Report

Metric Size (KB)
Baseline 3574
Current 3574
Difference 0

✅ APK size unchanged.

@bitdriftlabs bitdriftlabs deleted a comment from github-actions bot Jun 6, 2025
@bitdriftlabs bitdriftlabs deleted a comment from github-actions bot Jun 6, 2025
@bitdriftlabs bitdriftlabs deleted a comment from github-actions bot Jun 6, 2025
@bitdriftlabs bitdriftlabs deleted a comment from github-actions bot Jun 6, 2025
@kattrali kattrali force-pushed the dfuller/bit-5141-plumb-through-sdkversion branch from 330c49d to 4be1909 Compare June 6, 2025 09:48
@kattrali kattrali requested a review from FranAguilera June 6, 2025 09:50
Copy link

github-actions bot commented Jun 6, 2025

📦 APK Size Report

Metric Size (KB)
Baseline 3574
Current 3574
Difference 0

✅ APK size unchanged.

ensures that the native capture lib is loaded, and only called at most
once through lazily evaluating the sdkVersion property of the processor
@kattrali kattrali force-pushed the dfuller/bit-5141-plumb-through-sdkversion branch from 4be1909 to 15bcda4 Compare June 6, 2025 10:08
Copy link

github-actions bot commented Jun 6, 2025

📦 APK Size Report

Metric Size (KB)
Baseline 3574
Current 3574
Difference 0

✅ APK size unchanged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants