Skip to content

Conversation

@runningcode
Copy link
Contributor

@runningcode runningcode commented Sep 15, 2025

Use existing ProGuard UUID system for build identification instead of custom APK parsing.

Uses: Sentry.getCurrentScopes().options.proguardUuid

#skip-changelog

Replace custom APK parsing with existing SDK infrastructure:
- Use Sentry.getCurrentScopes().options.proguardUuid for build identification
- Leverage automatic loading from sentry-debug-meta.properties or manifest
- Better performance (no runtime APK parsing)
- More reliable than signature extraction
- Consistent with SDK patterns

The ProGuard UUID provides a stable, unique identifier for each build
and is automatically generated by sentry-cli or the Sentry Gradle plugin.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions
Copy link
Contributor

github-actions bot commented Sep 15, 2025

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against cf16fb0

@runningcode runningcode requested a review from chromy September 15, 2025 11:50
@github-actions
Copy link
Contributor

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 353.79 ms 386.63 ms 32.85 ms
Size 1.58 MiB 2.10 MiB 532.37 KiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
85d7417 347.21 ms 394.35 ms 47.15 ms
674d437 355.28 ms 504.18 ms 148.90 ms
7314dbe 437.83 ms 505.64 ms 67.81 ms
3699cd5 423.60 ms 495.52 ms 71.92 ms
17a0955 372.53 ms 446.70 ms 74.17 ms
ee747ae 382.73 ms 435.41 ms 52.68 ms
ee747ae 405.43 ms 485.70 ms 80.28 ms
b750b96 421.25 ms 444.09 ms 22.84 ms
ee747ae 357.79 ms 421.84 ms 64.05 ms
ee747ae 386.94 ms 431.43 ms 44.49 ms

App size

Revision Plain With Sentry Diff
85d7417 1.58 MiB 2.10 MiB 533.44 KiB
674d437 1.58 MiB 2.10 MiB 530.94 KiB
7314dbe 1.58 MiB 2.10 MiB 533.45 KiB
3699cd5 1.58 MiB 2.10 MiB 533.45 KiB
17a0955 1.58 MiB 2.10 MiB 533.20 KiB
ee747ae 1.58 MiB 2.10 MiB 530.95 KiB
ee747ae 1.58 MiB 2.10 MiB 530.95 KiB
b750b96 1.58 MiB 2.10 MiB 533.20 KiB
ee747ae 1.58 MiB 2.10 MiB 530.95 KiB
ee747ae 1.58 MiB 2.10 MiB 530.95 KiB

Previous results on branch: no/distribution-binary-identifier

Startup times

Revision Plain With Sentry Diff
618b82d 352.82 ms 402.63 ms 49.81 ms
bfd5725 505.51 ms 606.51 ms 101.00 ms

App size

Revision Plain With Sentry Diff
618b82d 1.58 MiB 2.10 MiB 532.32 KiB
bfd5725 1.58 MiB 2.10 MiB 532.36 KiB

@runningcode
Copy link
Contributor Author

We'll need a separate UUID.

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