Repository navigation
fix(android): Remove the WebView adapter keep rule - #6828
Merged
Merged
Conversation
The Sentry Android Gradle Plugin rewrites the WebView.loadUrl calls before R8 runs, so R8 renames the adapter and its call sites together and no keep rule is needed. Partially reverts 8ebf12f. Co-Authored-By: Markus Hintersteiner <[email protected]>
Contributor
PR risk: mediumFor commit Main concerns: public contract, dependencies customers inherit. Rules that block low also fired:
This label is a hint for reviewers, not an approval. |
📲 Install BuildsAndroid
|
markushi
marked this pull request as ready for review
December 1, 2026 11:45
markushi
requested review from
0xadam-brown and
romtsn
and removed request for
a team
December 1, 2026 11:45
antonis
approved these changes
Dec 1, 2026
runningcode
approved these changes
Dec 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📜 Description
Removes the
-keepnamesrule forSentryWebViewTracingAdapter.loadUrlfrom thesentry-android-coreconsumer ProGuard rules.This reverts the ProGuard part of #6592.
💡 Motivation and Context
ASM runs before R8, so there's no need to have these keep rules.
💚 How did you test it?
Rule and comment change only.
📝 Checklist
sendDefaultPIIis enabled.🔮 Next steps
#skip-changelog
via markus.hintersteiner.
--
View Session [Sentry]